Romans 15:4

NKJV
For whatever things were written before were written for our learning, that we through the patience and comfort of the Scriptures might have hope.