But they were unfaithful to the God of their fathers, and prostituted themselves to the gods of the peoples of the land whom God had destroyed before them.