And he forsook the Lord God of his fathers,.... Of David, Solomon, &c. and walked not in the way of the Lord; prescribed by him in his law for the worship of him.