Romans 15:4

WEB

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

KJV

For whatsoever things were written aforetime were written for our learning, that we through patience and comfort of the scriptures might have hope.