Ezekiel 39:23-24
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.