Jehoiada then drew up a covenant between the LORD and the king and people, stipulating that they should be loyal to the LORD.