He commanded the people of Judah to seek the LORD, the God of their ancestors, and to obey his law and his commands.