The righteous person is delivered out of trouble, and the wicked turns up in his stead. 