And they transgressed against the God of their fathers, and went a whoring after the gods of the people of the land, whom God destroyed before them. The gods of the people of the land - We see the reason why God delivered the Hagarites into the hands of these tribes; they were abominable idolaters, and therefore God destroyed them.
Related Commentaries of 1 Chronicles 5:25
1 Chronicles 5:25
25 And they transgressed against the God of their fathers, and went a whoring after the gods of the people of the land, whom God destroyed before them.