31 The king stood in his place, and made a covenant before the LORD, to walk after the LORD, and to keep his mitzvot, and his testimonies, and his statutes, with all his heart, and with all his soul, to perform the words of the covenant that were written in this book.