Hanging by the neck was never used as a form of execution in ancient Israel. However, the hanging of a person’s body after execution was a common practice (4:12). This was done to cast shame on the criminal and to warn others not to commit similar crimes.