2 Chronicles 34 31
The king stood by the pillar and made a solemn agreement before the Lord to follow him and to keep his commandments, laws, and regulations with total dedication, and to observe the requirements of the agreement as written in the book.
Compare with other 3 random translations
EAS 2 Chronicles 34:31Then the king stood in his place beside the pillar in the temple. He promised the Lord that he would obey the covenant. He agreed to serve the Lord faithfully and to obey his commands, laws and rules. Josiah agreed to obey what was written in the book of God's covenant.
CSB 2 Chronicles 34:31Then the king stood at his post and made a covenant in the Lord’s presence to follow the Lord and to keep his commands, 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.
YLT 2 Chronicles 34:31And the king standeth on his station, and maketh the covenant before Jehovah, to walk after Jehovah, and to keep His commands, and His testimonies, and His statutes, with all his heart, and with all his soul, to do the words of the covenant that are written on this book.