No. When we prescribe glasses for a refractive area they’re changing the optics of light so they focus on your retina where the image should. Wearing glasses doesn’t prevent you from becoming more nearsighted nor does it cause more nearsightedness.
Changes to your prescription are caused genetically or occupationally. Some people do a lot of work in close proximity to their computer screens. Glasses and contacts do not make eyes better or worse. Perceptually some people may take their glasses off once they’re used to seeing really clearly, and there’s a reason for that. You’re used to the way you see and you have a redefinition of what great vision is. Your brain sets the bar higher. The same vision you had without glasses isn’t as tolerable now without the glasses.