This is something biblical historians still debate very hotly. Some argue that there is some truth to the narrative, others dismiss it as a collection of legends. Mosaic, an online magazine, just published a series on this recently. You can find it here