Why did the Greeks write myths?
What we call Greek myths is the ancient Greek religion. They believed in their gods as seriously as people today believe in the Christan god, or Allah, or the god(s) of other religions. Religious stories we do not believe in we call myths. Roman mythology and Norse mythology are other examples of religions we do not believe in any more.