Nathan the prophet told Bathsheba to ask David whether he promised that Solomon would be king, and why Adonijah was reigning.