Board Thread:Bible Questions/@comment-26538658-20161010015359/@comment-5175866-20161011164337

As we know from Scripture, that the history recorded in the Bible and the historical events themselves occured in part to be examples for Christians1 Cor 10:6,11; Rom 15:4- this is something I know of very well and am very passionate in teaching. I of course differ in the idea of portions of Scripture being solely written with a moral message for if that was the case then each account in the Bible could be considered an allegorical fable. 
Nevertheless as it is affirmed by the Scriptures I cited above, while the Bible does contain a lot of literal historical facts, lessons can be learned from what has happened. Of course the difficulty is in that the Bible doesn't flat us tell us what the purpose of something being recorded is. It can be reasoned that since all of the Bible is inspired by the Holy Spirit 2 Tim 3:16, 2 Peter 1:21, historical events were chosen to be included not just for their historical value; but also spiritual value. With that being said I will described what I believe to be the lesson, since there is no expressely stated lesson.
Apologies, I have been busy- I cannot provide what I think the "lesson" is at the time, but will try to come back and reply to this post to continue it. Do make sure to read the following chapter, Judges 20 as it explains the aftermath of the whole ordeal. Also note some of the similarities with the Levite and Lot, with his town people and those of Sodom.