Romans 4:23

Nor was the fact of its being placed to his credit put on record for his sake only;

Romans 15:4

For all that was written of old has been written for our instruction, so that we may always have hope through the power of endurance and the encouragement which the Scriptures afford.

1 Corinthians 10:11

All this kept happening to them with a figurative meaning; but it was put on record by way of admonition to us upon whom the ends of the Ages have come.

1 Corinthians 10:6

And in this they became a warning to us, to teach us not to be eager, as they were eager, in pursuit of what is evil.

2 Timothy 3:16-17

Every Scripture is inspired by God and is useful for teaching, for convincing, for correction of error, and for instruction in right doing;

1 Corinthians 9:9-10

For in the Law of Moses it is written, "Thou shalt not muzzle an ox while it is treading out the grain."

Treasury of Scripture Knowledge

Summary

Now it was not written for his sake alone, that it was imputed to him;

Bible References

General references

Romans 15:4
For all that was written of old has been written for our instruction, so that we may always have hope through the power of endurance and the encouragement which the Scriptures afford.
1 Corinthians 9:10
Is God simply thinking about the oxen? Or is it really in our interest that He speaks? Of course, it was written in our interest, because it is His will that when a plough-man ploughs, and a thresher threshes, it should be in the hope of sharing that which comes as the result.
1 Corinthians 10:6
And in this they became a warning to us, to teach us not to be eager, as they were eager, in pursuit of what is evil.
2 Timothy 3:16
Every Scripture is inspired by God and is useful for teaching, for convincing, for correction of error, and for instruction in right doing;