First, babies understand language; then they speak it. Several years later, children tackle reading and writing.
And so it was with our human ancestors. Speech developed long before the written word. In many parts of the world today, there are people whose languages don’t have a written form; yet these people communicate very well in spoken language.