The Old Testament does contain a lot of history. The history is designed to show how God's purpose was worked out in the experience of His people, Israel. However, there are other categories too such as the Law, Prophecy, Poetry. Below is a list of the categories of the books of the entire Bible, not just the Old Testament:
Old Testament
Law
Genesis
Exodus
Leviticus
Numbers
Deuteronomy
History
Joshua
Judges
Ruth
1st Samuel
2nd Samuel
1st Kings
2nd Kings
1st Chronicles
2nd Chronicles
Ezra
Nehemiah
Esther
Poetry & Wisdom
Job
Psalms
Proverbs
Ecclesiastes
Song of Solomon
Major Prophets
Isaiah
Jeremiah
Lamentations
Ezekiel
Daniel
Minor Prophets
Hosea
Joel
Amos
Obadiah
Jonah
Micah
Nahum
Habakkuk
Zephaniah
Haggai
Zechariah
Malachi
New Testament
Gospels
Matthew
Mark
Luke
John
History
Acts
Letters of Paul
Romans
1st Corinthians
2nd Corinthians
Galatians
Ephesians
Philippians
Colossians
1st Thessalonians
2nd Thessalonians
1st Timothy
2nd Timothy
Titus
Philemon
General Letters
Hebrews [perhaps by Paul]
James
1st Peter
2nd Peter
1st John
2nd John
3rd John
Jude
Prophecy
Revelation
Here are links to information which will find useful:
The Miracle of the Bible: https://www.thisisyourbible.com/library/show/149
The Bible, the Word of God: https://www.thisisyourbible.com/library/show/1125
The Divine Origin of the Bible: https://www.thisisyourbible.com/library/show/160
I hope you have found this helpful.
God bless,
Mike