But they were unfaithful to the God of their ancestors and faithlessly followed the gods of the peoples of the land, whom God had destroyed before them.