31 The king stood by his pillar and made an agreement in the presence of the Lord to follow the Lord and obey his commands, rules, and laws with his whole being and to obey the words of the agreement written in this book.