And Paul told Timothy that ALL scripture is good for doctrine and instruction in righteousness.
You do realize that you just told Jesus that He wasted His time preaching from the OT to the disciples on the road to Emmaus.
Timothy was a follower of Paul. Did you notice that?
And yes, all scripture has context and consequence.
But not all scripture is Doctrine.
For example.... the Scripture says that Judas hung himself.
So, is that doctrine?
Not quite, so dont give that one a try.