2 Chronicles 25:20

But Amaziah would not hear; for it was of God, that he might deliver them into the hand `of their enemies', because they had sought after the gods of Edom.