> First, words aren’t really related to sound.
No, but they are related to a naturally occurring medium of language, of which there are only two notable ones: the human voice, and signing. Written languages are simply codified representations of these forms of natural language. (Note: Sign languages are distinct unrelated languages from the local spoken languages with their own grammar and everything, not just signed representations of them.)
By using written language, you are merely encoding a representation of a spoken phrase into a graphical representation. This is what truly makes writing separate from other commonplace but more abstract symbols, such as arrows, crosses, checkmarks, bathroom/restaurant/exit indicators, warning signs, etc, which convey an idea quite effectively but do not have a clear reliable decoding into natural language (i.e. if you ask 100 people to explain what they indicate, you won't be given the exact same sentence 100 times).