David's deathbed instructions to Solomon reveal the complexity of his character to the end. Alongside spiritual wisdom about following God's laws, he gives specific instructions for settling old scores—Joab and Shimei must die, while the sons of Barzillai should be honored.