The First and Second Chronicles are history books in the Old Testament. They tell the history of Israel differently from the Books of Kings. Using Biblical books (like Samuel and Kings) and other sources, the "Chronicler" encourages the Jews who returned from exile in Babylon. It goes back over Israel's history to explain why they have had all their troubles and how they can live right to become better in the future. One major difference to the similar, earlier narrative is that unlike in 2 Samuel, David is presented as being good in Chronicles.