The righteous is delivered out of trouble, and the wicked cometh in his stead.
The righteous is delivered from trouble, and the wicked walks into it instead.