But I had concern for My holy name, which the house of Israel had profaned among the nations to which they had gone.
I had pity for mine holy name--that is, I felt pity for it; God's own name, so dishonored, was the primary object of His pitying concern; then His people, secondarily, through His concern for it [FAIRBAIRN].
God's name was hurt by Israel's sin as much as by their captivity, and good men grieve more for God's dishonor than for their own losses. They defiled the land with their wicked way, and sin renders a people unfit for holy communion with their God. Yet He will restore them purely to magnify His own mercy and show forth His glory.
AI summary
Commenting on Ezekiel 36:16-24
God's concern was for His own holy name, not for Israel's merit, He pitied them for His name's sake. The house of Israel had profaned Him among the nations where they were scattered, and so He resolved to glorify Himself through an act of special grace to His people.
AI summary