Proverbs 21:18 NKJV

18 The wicked shall be a ransom for the righteous, And the unfaithful for the upright.