But they transgressed against the God of their ancestors and prostituted themselves after the gods of the peoples of the land, whom God had destroyed before them.