Proverbs 11:8

MSB(i) 8 The righteous man is delivered from trouble; in his place the wicked man goes in.