David chooses Solomon as his successor
David named Solomon as his successor and gave instructions for his anointing.
Key passages
1 Ki 1:28–37

Then King David answered and said, “Summon Bathsheba for me.” Then she came before the king and stood in his presence. Then the king swore and said, “As Yahweh lives, who has saved my life from all trouble, surely as I swore to you by Yahweh the God of Israel, saying, ‘Solomon your son …