After a 40-year reign David died and was buried in the City of David. . (1 Kings 2:10, 11)
After ensuring a proper transition of leadership, King David died peacefully on his bed in the palace. This was a slap across the face to all his enemies, who would have seen
any form of violent death as a proof of God's repudiation of David.