No. My peers told me I was sexually inadequate and less than essentially human. This was also mixed up with my having been molested be a peer in high school. As a result, I was pretty much unable to have a relationship until my late 20's, and even so it was hard to sustain a relationship long term for many years beyond that. (I'm happily married now, however.)
Insults and gaslighting with regards to one's sexuality are a particularly potent psychological weapon, and from what I've seen both as a direct participant and as an observer, some people from poorer backgrounds will actively punish those who are demonstrating academic excellence, or who are cultivating themselves in some other fashion. Such people are likely just a small percentage of the general populace. However, if one "sticks out" then that small percentage tends to find you more easily.
https://quillette.com/2019/02/10/public-educations-dirty-sec...
Living in a bad environment definitely does influence your success. Are there exceptions? Yes, plenty of them. But that doesn’t mean that there is no impact for majority of people.
In my case, this kind of discouragement actually helped me pursue a career in STEM, as it was the perfect excuse to leave my city, but I don't thinks this kind of environment is healthy and nurturing for someone's dreams.