David died when he was old. He had lived a good, long life and had many riches and honors. His son Solomon became the new king after him.