The current theory regarding writing has it beginning as highly stylized hieroglyphs in Sumer. From there it spread to Egypt and China.
Sumerian scribes were the Internet gurus of their day and could draw high wages anywhere.
Once writing got to Egypt (in the form of hieroglyphs and a syllabary) it was "copied" by the Phoenicians and rendered into the basis of another syllabary which became an alphabet. That alphabet spread around the Mediterranean.
In more recent times scribes working for Bill Gates have reintroduced stylized hieroglyphs as well as Chinese style ideographs to what we call writing. Again, the Internet gurus draw high salaries.
In the Old Days, writing was used for worthy purposes like keeping accounting records, but now ...
There were Greek civilizations far before classical Greece happened.