Solomon
Proverbs 21:18ESV·traditional attribution

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

Matthew Henry Presbyterian @wholebiblehenry

This intimates, 1. What should be done by the justice of men: The wicked, that are the troublers of a land, ought to be punished, for the preventing and turning away of those national judgments which otherwise will be inflicted and in which even the righteous are many times involved.

John Gill Reformed Baptist @doctorgill

The wicked shall be a ransom for the righteous,.... Not to make satisfaction for them, as Christ is a ransom for his people; but as a ransom is in the room of another, so the wicked cometh in the stead of the righteous, and into the trouble he is delivered from; as Haman for Mordecai, which instance Jarchi mentions; see Pro 11:8; or when a...

Jamieson-Fausset-Brown Reformed @jfbcommentary

(Compare Pro 11:8). By suffering what they had devised for the righteous, or brought on them, the wicked became their ransom, in the usual sense of substitutes (compare Jos 7:26; Est 7:9).