Berean Standard Bible (BSB)
For everything that was written in the past was written for our instruction, so that through endurance and the encouragement of the Scriptures, we might have hope.
World English Bible (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.
Strong's King James
For{G1063} whatsoever things{G3745} were written aforetime{G4270}{(G5648)} were written{G4270}{(G5648)} for{G1519} our{G2251} learning{G1319}, that{G2443} we{G2192} through{G1223} patience{G5281} and{G2532} comfort{G3874} of the scriptures{G1124} might have{G2192}{(G5725)} hope{G1680}.
The F.O.G *
(4) For whatever was written beforehand was written for our instruction, so that by remaining steadfast and by the comfort of The Writings we might have hope.
The F.O.G Message *
Young's Literal Translation
for, as many things as were written before, for our instruction were written before, that through the endurance, and the exhortation of the Writings, we might have the hope.