Myths and legends are based on facts. All science proved is that places and people mentioned in the Christian story books actually existed. Science also prove that many of the things in this Christian story books never happened too.
But you're right, Jesus Christ represents great good and morality in a cruel world. Even though a fictional character.