I Chronicles 5-6
"... and Jehozadak went along when the Lord carried Judah and Jerusalem away into exile by Nebuchadnezzar" (6:15). Chronicles briefly sketches the big picture of Israel's history, starting with Adam and Noah and including the terrible defeats by the Assryian and Babylonian empires. Certain Israelite genealogies end with the family being taken into exile (5:22, 26). Of course, that wasn't the end of the story. The God who promised a future to Adam, Noah, and Abraham was still working.
More than simply overlooking our failures, God redeems them. Israel's tragic exile produced saints like Daniel, who loved God in a foreign land.