My thought is that scripture is essentially a reason to praise God. That may not be it's sole raison d'etre. But, from beginning to end, scripture shows God to be a consistent, loving father. Whether He's flooding the world or delivering His people, every time God does something in scripture, we can say, "Hallelujah!" Israel turned to idol worship and God punished them. Hallelujah! Jacob stole his brother's birthright and ran away, and God upheld His promise to Abraham. Hallelujah!
From the historical perspective, He demonstrates his consistent love for us by rewarding and punishing His children throughout scripture and by making promises that he keeps. Scripture doesn't cast mankind in a very good light, as we tend to be inconsistent, self-loving, self-serving, willful children. But, that directs us even more back to scripture being a reason to praise God for His consistent love for us. Hallelujah!
Does scripture contain Biblical answers to modern problems? As a parent, I find myself having to take things away from my kids. Things they like. Things they cherish. It's usually the iPad because they are hooked on a game, or a TV show they've watched 10 times in a row. Taking these things away from them feels like punishment to them. To them, it feels like I'm being mean. But, I see them becoming obsessed with something trivial (TV and video games), and I need to break that pattern of addiction because I love them, and I need them to love me (by obedience--or vice versa, obey me because of their love) more than their iPad & TV.
I read a book called The Pursuit of God in which the author writes about having possessions, but not being possessed by them. An example cited was Abraham, who was willing to sacrifice his dearest possession, Isaac. That demonstration of love literally saved the world. The story of Job fits into this category of modern problems, too, I think.
The problem is that, when you lose your job, your car, your health, your loved ones, iPad time, TV time (modern problems), it's so hard to see that ancient scripture may be at work. Abraham never said, "I want my iPad! I want my iPad!" (Hallelujah!) But, the idea is the same. It just might be God's loving hand breaking your fixation/obsession/addiction to the 'things' in the world (can we call it idol worship?) and redirecting you back to love-driven obedience to Him and His plan for us and the world. It just might be a reason to praise God (even though I still find myself fussing at him for not protecting me and my family when it happens).
Here's the thing, though. Without an understanding of scripture, we could never see our modern problems from that perspective. And, that's why we end up perplexed and frustrated when God abandons us and allows these terrible things to happen. It's so hard to hear "I love you" when you're in the throes of grief, punishment or withdrawal. On the other hand, God can't hear, "I love you," from us when we're obsessed with our modern problems.