You are probably referring to these verses, and probably might tend to separate prophecy into its separate category. Of course there are numerous stories of Israel's history, but that also is a record of God's judgments and not man's. All scripture is given by inspiration of God.You might reject it but all writing is from man, unless there's something God wrote that we have today ?
"For whatsoever things were written aforetime were written for our learning, that we through patience and comfort of the scriptures might have hope." Romans 15:4
"For the prophecy came not in old time by the will of man: but holy men of God spake as they were moved by the Holy Ghost."
2 Peter 1:21
What I am clearly endorsing is that no scripture comes from man's thoughts alone without being inspired by God. God is a spirit of motivation that scripture defines. If Paul wrote without being inspired by God, then we would have to say that the epistles of Paul were also his own thoughts without any influence from God Almighty. We need to divert from the physical rhetoric. We all know that men physically wrote the scrolls, but it is still the word of God. The carnal mind is enmity against God.
"And the Lord said unto Moses, Thus thou shalt say unto the children of Israel, Ye have seen that I have talked with you from heaven. Ye shall not make with me gods of silver, neither shall ye make unto you gods of gold." Exodus 20:22-23
And so Moses repeated God's instructions spoken to him clear through chapter 23. These are not Moses' words, they are God's.
But now can we agree that all scripture given to us in writing was given by God to man? Therefore all scripture comes from God and not just an invention of man.
"All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:"
2 Timothy 3:16