Ezekiel 39:23-25
39:23 The nations will know that the house of Israel went into exile due to their iniquity, for they were unfaithful to me. So I hid my face from them and handed them over to their enemies; all of them died by the sword.
39:24 According to their uncleanness and rebellion I have dealt with them, and I hid my face from them.
39:25 “Therefore this is what the sovereign Lord says: Now I will restore the fortunes of Jacob, and I will have mercy on the entire house of Israel. I will be zealous for my holy name.