2 Chronicles 34:31

31 Next the king stood at his post and made a covenant in the Lord's presence to follow the Lord and to keep His commandments, His decrees, and His statutes with all his heart and with all his soul[a] in order to carry out the words of the covenant written in this book.[b]

2 Chronicles 34:31 In-Context

29 So the king sent [messengers] and gathered all the elders of Judah and Jerusalem.
30 Then the king went up to the Lord's temple with all the men of Judah and the inhabitants of Jerusalem, as well as the priests and the Levites-all the people from great to small. He read in their hearing all the words of the book of the covenant that had been found in the Lord's temple.
31 Next the king stood at his post and made a covenant in the Lord's presence to follow the Lord and to keep His commandments, His decrees, and His statutes with all his heart and with all his soul in order to carry out the words of the covenant written in this book.
32 Then he had all those present in Jerusalem and Benjamin enter [the covenant]. So all the inhabitants of Jerusalem carried out the covenant of God, the God of their ancestors.
33 So Josiah removed everything that was detestable from all the lands belonging to the Israelites, and he required all who were present in Israel to serve the Lord their God. Throughout his reign they did not turn aside from following the Lord God of their ancestors.

Footnotes 2

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.