# they abandoned Yahweh
"they were unfaithful to Yahweh" or "they did not obey Yahweh"
# who had brought their ancestors out of the land of Egypt
This phrase tells why they should have worshiped God.
# they laid hold of other gods
"they chose to be loyal to other gods"