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.