Egyptian hieroglyphics already had alphabetic elements, and the canaanites borrowed those: https://en.wikipedia.org/wiki/Egyptian_hieroglyphs (“Egyptian hieroglyphs are the ultimate ancestor of the Phoenician alphabet, the first widely adopted phonetic writing system”).