It may be based on some version of events but it is fiction.
If some people find comfort in their beliefs, whatever they may be, then good; have at it. But historically, religion has been a driving force for evil. Religious beliefs have been used as a reason for committing atrocities since time immemorial, and still are to this day. Cherrypicking parts of an ancient creed to justify actions while ignoring the message from the same passages only demonstrates that most piety is skin deep. Religion is both a shield and a weapon to be deployed as needed.
Sure, the urge to believe in a higher power is human nature, I understand that. There is a spiritual void in everyone that needs to be filled. Some worship money, some believe in thetans, others find solace in pretending old dead people were magic. But of all historical religions, the only ones that actually make any sense at all are those that worshipped the sun or nature. Those at least have some basis in reality.