“Therefore say to the house of Israel, ‘Thus says the Lord God, “It is not for your sake, O house of Israel, that I am about to act, but for My holy name, which you have profaned among the nations where you went.”‘” Ezekiel 36:22
As God declares the restoration of the mountains of Israel back to His People, He clarifies His motivation; “It is not for your sake, O house of Israel, … but for My holy name”. Do you see that? It was on behalf of His Holy Name! Israel had committed Great Sin in their own land, AND, in the land in which they were taken captive. They had sinned, so God brought Judgement. And what did those that escaped do? They continued in Sin. So what does God do? He totally wipes them out and starts over, right?
NO!!! He gives them a New Heart! He removes the heart of stone (hates God; loves Sin) and gives them a Heart of Flesh (loves God; hates Sin)! This produced a People that would bring God Glory and keep His Name Holy. THIS is why God does what He does! His Own Glory!!!