Thanks for your question.
The books of the Bible from Joshua to Esther are called the "Historical Books." Other books such as Isaiah, Jeremiah, Ezekiel, Daniel contain historical references too but their main thrust is prophetic.
I hope you have found that helpful.
God bless and keep you,
Mike