where in the Bible is the account of King David's death?


By the time the Deuteronomic History and the Book of Chronicles were written, Saul, David and Solomon, the principal kings of the United Monarchy, were just distant legends, and there are now two different biblical accounts of David's death and the succession of Solomon.

The Deuteronomic history follows the Absalom narrative with another uprising in 2 Samuel chapter 20, then the remainder of 2 Samuel has a group of miscellaneous chapters out of context, clearly later insertions. These chapters include a famine, killing of giants, a psalm, the purported last words of David and then a census undertaken by David. Removing chapters 21 to 24 leaves a coherent story line, from Absalom's attempted coup to Sheba's uprising, proof of David's senility when the aged king could no longer have sex with a beautiful virgin, Adonijah's attempted coup and then the anointment by the bed-ridden David of Solomon as king. Finally, in 1 Kings 2:10, David slept with his fathers and was buried in the city of David.

The Book of Chronicles omits the lengthy diversion about Absalom, the attempted coups and the Sheba uprising. More particularly, while still in apparent good health and not yet bed-ridden, David announced to the people of Israel that Yahweh had chosen Solomon to be his heir. So David prepared abundantly before his death (1 Chronicles 22:5). 1 Chronicles 29:28 finally tells us that David died in a good old age, full of days, riches and honour.