Proverbs 11:8

NASB
The righteous is delivered from trouble, But the wicked takes his place.