31 And the king stood in his place and made a covenant before the LORD, to walk after the LORD, and that they would keep his commandments and his testimonies and his statutes with all their heart and with all their soul to perform the words of the covenant which are written in this book.