2 Chronicles 23:3 CSB

3 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 must reign, just as the Lord promised concerning David's sons.