However, they acted treacherously toward the God of their ancestors by prostituting themselves to follow the gods of the peoples of the land, whom God had destroyed before them.