I think if people treated Gods as fictional heroes, (it’s easier with Christ than Yahweh), religion wouldn’t be so dangerous. “What would jesus/superman do?” could be a good model for living a life free from compromise.
When there was a reason to die, someone who knew about heroes could draw strength from his predecessors, even if they didn’t exist. (The part about Christ sacrificing himself is of course nonsense, because we all know dying but then coming back to life carries no finality, and isn’t a real sacrifice.)
The man who knowingly sacrifices his life to save another could tell himself that, “At least I am about to become proof that heroes exist in the real world. For the rest of my life I will become like superman, and live free of compromise.” Imagine what a relief it would be to live only for ideals and without regard for your own safety; it would make it easier to die with a smile of contentment.
We probably do need to believe heroes and saviors exist, to cope with the injustice and corruption in the world. But in the real world heroes only exist temporarily, because no one can live for long unless he makes compromises, avoids violence, and subverts his own values most of the time.
We praise the person who charges into a burning building to save a kid, but that’s just for a moment. A real hero cannot survive, but a fictional hero is free to live forever. Unlike in real life, in comic books the universe itself conspires so that superman never stays dead, and batman lives to protect us forever.