2 And the king went up to the house of the Lord, with all the men of Judah and all the people of Jerusalem, and the priests and the prophets and all the people, small and great; and they were present at his reading of the book of the law which had come to light in the house of the Lord.

Matthew Henry's Commentary on 2 Kings 23:2

Commentary on 2 Kings 23:1-3

(Read 2 Kings 23:1-3)

Josiah had received a message from God, that there was no preventing the ruin of Jerusalem, but that he should only deliver his own soul; yet he does his duty, and leaves the event to God. He engaged the people in the most solemn manner to abolish idolatry, and to serve God in righteousness and true holiness. Though most were formal or hypocritical herein, yet much outward wickedness would be prevented, and they were accountable to God for their own conduct.