3 The king stood by the pillar and renewed the covenant in the presence of the LORD—to follow the LORD and keep his commands, statutes and decrees with all his heart and all his soul, thus confirming the words of the covenant written in this book. Then all the people pledged themselves to the covenant.

Read 2 Kings 23:3 Using Other Translations

And the king stood by a pillar, and made a covenant before the LORD, to walk after the LORD, and to keep his commandments and his testimonies and his statutes with all their heart and all their soul, to perform the words of this covenant that were written in this book. And all the people stood to the covenant.
And the king stood by the pillar and made a covenant before the LORD, to walk after the LORD and to keep his commandments and his testimonies and his statutes with all his heart and all his soul, to perform the words of this covenant that were written in this book. And all the people joined in the covenant.
The king took his place of authority beside the pillar and renewed the covenant in the LORD ’s presence. He pledged to obey the LORD by keeping all his commands, laws, and decrees with all his heart and soul. In this way, he confirmed all the terms of the covenant that were written in the scroll, and all the people pledged themselves to the covenant.