Writing was invented independently in several places
Writing did not begin once and then spread everywhere. Cuneiform and Egyptian hieroglyphs appeared in the Near East, Chinese writing developed in China, and writing systems appeared separately in Mesoamerica.