8 The righteous is delivered out of trouble, and the wicked comes in his stead.
Proverbs 11:8 Cross References - TKJU
Esther 7:9-10
9 And Harbonah, one of the chamberlains, said before the king, "Behold also, the gallows fifty cubits high, which Haman had made for Mordecai, who had spoken good for the king, stands in the house of Haman." Then the king said, "Hang him on it."50 Hebrew cubits (of the scriptures) is approximately 91.2 feet, or 27.8m; per Noah Webster's 1828 Dictionary and Easton's Illustrated Bible Dictionary, Appendix VI.
10 So they hanged Haman on the gallows that he had prepared for Mordecai. Then the king's wrath was pacified.
Proverbs 21:18
18 The wicked shall be a ransom for the righteous, and the transgressor for the upright.
Isaiah 43:3-4
Daniel 6:23-24
23 Then the king was exceedingly glad for him, and commanded that they should take Daniel up out of the den. So Daniel was taken up out of the den, and no manner of injury was found upon him, because he believed in his God.
24 And the king commanded, and they brought those men who had accused Daniel, and they cast them into the den of lions, them, their children, and their wives; and the lions had mastery of them, and broke all their bones in pieces even before they came to the bottom of the den.