Yahweh wanted to pour out his wrath on them right there and then in the land of Egypt, because he was angry with them. However, he acted for the sake of his name. He did not want to profane his name in the sight of other nations among whom the Israelites had lived. He did not want to embarrass his name among those who had heard that Yahweh was bringing them out of the land of Egypt. So he ended up leading them out of the land of Egypt into the wilderness.
Yahweh clearly called Jerusalem a whore who was going to listen to his word. Jerusalem’s lust was apparent in her nakedness. She had revealed herself with her prostitution activities with all her lovers. Her idols were laid bare. The blood of her children was poured out. Yahweh was going to gather all her lovers with whom she had pleasure. He would gather the ones that she loved and as well as those she hated from all over. Then when they were all gathered together, Yahweh was going to embarrass her by uncovering her nakedness. Thus everyone could see the naked Jerusalem.