But Amazyahu would not hear; for it was [ordained] by God, in order to deliver them into the hand [of Joash]; because they had sought after the gods of Edom.