Twice, once in the context of temptation to sin, and once in the context of endurance in the faith, the Apostle Paul writes this about the various events that are recorded for us in the Scriptures:
“written for our instruction”
Romans 15:4 and 1 Corinthians 10:11
Love this about the Word of God! Even the New Testament’s events are a really, really long time ago for us. But praise the Lord, that it is relevant to us. All of Scripture might be very ancient, but it is “written for our instruction”. God is clearly on display in those ancient events, and Scripture records His part in those events for us so we can receive instruction. 1 Corinthians 10 uses ancient stories of sin and temptation to call the living generation to holiness, Romans 15 uses ancient stories to call us to stand strong in our hope in spite of many difficulties.
For whatever was written in former days was written for our instruction, that through endurance and through the encouragement of the Scriptures we might have hope.
Romans 15:4-6
May the God of endurance and encouragement grant you to live in such harmony with one another, in accord with Christ Jesus, that together you may with one voice glorify the God and Father of our Lord Jesus Christ.
As you read the ancient stories in the Scriptures, take heart, be infused with courage, stand strong so that your story might be joined to theirs in the sense that God is glorified through our lives.