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