Yes, it does.
In Leviticus 24:10-23, Moses oversaw the execution of a man who had blasphemed. In Numbers 15:32-36, a man was executed for violating the Sabbath. In Exodus 32:25-29 and Numbers 25:1-15, people were executed for idolatry. Joshua executed Achan, who selfishly stole goods from Jericho and caused the death of about 36 people (Josh. 7:1,5,11,12,19-26). Samuel executed Agag, the Amalekite king, for “making women childless” (1 Sam. 15:33). David had Recab and Baanah executed for murdering Ishbosheth (2 Sam. 4:5-12). Solomon, often called the wisest man who ever lived, had his brother executed for trying to steal the kingdom from him (1 Kings 2:25), had Joab executed (1 Kings 2:29) and had Shimei executed for breaking the law (1 Kings 2:46).