NET
4 For everything that was written in former times was written for our instruction, so that through endurance and through encouragement of the scriptures we may have hope.
Darby
4 For as many things as have been written before have been written for our instruction, that through endurance and through encouragement of the scriptures we might have hope.
KJV
4 For whatsoever things were written aforetime were written for our learning, that we through patience and comfort of the scriptures might have hope.