When you see in an old book the letter “y” where we’d use “th” (“ye olde… etc“), that letter was not pronounced as a “y.” The substitution was just a printer convention to make typesetting easier. “Ye” was pronounced “the”…
– via David Frum