Why the historical books of the bible are pieces of religious literature?

The Holy Bible is widely acclaimed and accepted piece of Religious Literature. Religious literature is a piece of work that deals with the ways people should lead their life and maintain their ideas and wants. The Holy Bible and the other pieces related to this Holy Piece dictates the same; that is why they are regarded as the Religious Literature.

Also:

The historical books as well as recording history, also tell about God's dealings with His chosen people Izrael. From them we can learn about God and His ways. We can learn about sin and retribution, we can learn about the character of man. These books also lay the foundation for the coming of Jesus Christ and salvation through grace.