The Chronicler's view of the end of David's reign