At one time in a civilization far, far away, there was good and there was bad. At night time the people of the kingdom went to sleep knowing that the king had a battle every hour of the nighttime fighting the bad. If the bad won then the sun would not rise in the morning and bad would take over the world. If the king won the battles then the sun would rise and the bad would have to go into shadows to hide from the sunlight and good and happiness would rule the daytime.
You have brought up the scientific and moral versions of good and bad, there is also a superstitious good and bad. Back then in Egypt all you had to do is look at your shadow to know that bad followed you everywhere you went and you could not get rid of bad. It was something that you could deal with by following the directions of RA the god who lived in the Sun and communicated with you by sunlight.
It worked for the people back then for thousands of years and history shows they were a happy and joyful people.