While all the responses you provided have their validity, the most encompassing reason for the development of written language is likely:
It allowed trade over long distances.
Written language facilitated the recording of transactions, agreements, and trade records, which was crucial for the expansion of commerce and interactions between different cultures and societies. This utility in trade often served as a foundational motivation for the advancement of written communication.