Proverbs 21:18

ESV
“The wicked is a ransom for the righteous, and the traitor for the upright.”