God has a good plan to everyone who will be obedient to the change in generation. When God is changing a generation after sinning lot (rebellion), he chooses a person who is despised and puts his grace on him and also joins him with those despised and he prepares them so as to use them to change the generation. He weakens the system which has been in place or may add ingredients so as to put an end to rebellion and familiarity and also judges as He wishes
