8 The righteous is delivered out of trouble, and the wicked comes in his stead.
Proverbs 11:8 Cross References - KJ2000
Esther 7:9-10
9 And Harbona, one of the eunuchs, 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 thereon.
10 So they hanged Haman on the gallows that he had prepared for Mordecai. Then was the king's wrath abated.
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 was the king 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 harm 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 overpowered them, and broke all their bones in pieces before they ever came at the bottom of the den.