31 The king stood in his place and made a promise to the LORD that he would follow the LORD and obey his commands, instructions, and laws with all his heart and soul. He said he would live by the terms of the promise written in this book.