Then the whole assembly made a covenant with the king in God's temple. Jehoiada said to them, "Here is the king's son! He will reign, just as the LORD promised concerning David's sons.