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