But they were unfaithful to the God of their ancestors by prostituting themselves to the gods of the peoples of the land, whom God had exterminated right in front of them. 