Earlier quoted context omitted.
The phoneme 'th' does not exist in Spanish. So, we tend to mispronounce it. Many of us, at least for the native European Spanish speakers, pronounce a Spanish 'z' instead of 'th'. By the way, the spanish phoneme 'z' is pronounced differently to the english phoneme 'z'.
Just to be more precise: We can do that in "think" or "thanks". But not in "they". In the latter case we tend to mispronounce it as a Spanish phoneme 'd'.
Taken from Wikipedia https://en.wikipedia.org/wiki/Spanish_phonology#Consonants
"The phonemes /b/, /d/, and /ɡ/ are realized as approximants (namely [β̞, ð̞, ɣ˕], hereafter represented without the downtacks) or fricatives[6] in all places except after a pause, after a nasal consonant, or—in the case of /d/—after a lateral consonant; in such contexts they are realized as voiced stops.[7] (In one region of Spain, the area around Madrid, word-final /d/ is sometimes pronounced [θ] especially in a colloquial pronunciation of its name, Madriz ([maˈðɾiθ]).[8]) "