He abandoned the LORD God of his ancestors and did not walk in the ways of the LORD.