But I think a bit of historical context would help. Many European languages derive from Latin, and most other were influenced and borrowed its alphabet. Latin didn't have diacritics, despite having pronunciation accents. E.g. "mania" could mean "mănia" (madness) or "mānia" (a kind of spirit). With time, many short vowels disappeared or changed, e.g. "orphănus" became "orphenin" then "orphelin" in French. I suppose that, for languages that are mostly an evolution of Latin, introducing diacritics was a way to mark words that were different from Latin words. It was even more useful because Latin was the written standard (a moving standard across centuries).
By the way, French and English are languages were you can't be sure of the pronunciation of a word you've never seen. Some studies have shown that other languages are much more efficient to read and write. For instance, Spanish readers barely slow down when reading a text that contains rare words, while English readers stumble. I remember stumbling when I first encountered "antienne" in my native language, or "recipe" and "gaol" in English.