Amaziah, however, would not listen, for God so worked that he might hand them over to Jehoash, because they sought the gods of Edom.