2 Kings 23:2-3 (YLT)
2 and the king goeth up to the house of Jehovah, and every man of Judah, and all the inhabitants of Jerusalem, with him, and the priests, and the prophets, and all the people, from small unto great, and he readeth in their ears all the words of the book of the covenant that is found in the house of Jehovah.
3 And the king standeth by the pillar, and maketh the covenant before Jehovah, to walk after Jehovah, and to keep His commands, and His testimonies, and His statutes, with all the heart, and with all the soul, to establish the words of this covenant that are written on this book, and all the people stand in the covenant.
About 2 Kings 23: This chapter records the final days of King Josiah and his efforts to restore true worship in Judah. Josiah was a righteous king who sought the Lord with all his heart. When the Book of the Law was found in the temple, he tore his clothes in grief. He realized how far the people had strayed from God’s commands. He called the elders and all the people to Jerusalem to hear the words of the book. Read the study notes
2 verses · Compare in parallel · Read all of 2 Kings 23