But they were unfaithful to their ancestors' God. Instead, they worshiped the gods of the peoples of the land, whom God had destroyed before them.