Ancient Near Eastern mythologies and classical creation myths in Greek mythology envisioned the creation of the world as resulting from the actions of a god or gods upon the already-existing primeval matter, known as chaos.