Next, the king stood by the pillar 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 this covenant that were written in this book; all the people agreed to the covenant.