You did nothing wrong. Not one single thing.
What happened was you met stupid people. There are some around, but their numbers are relatively few when compared to the number of people who act in a reasonably intelligent manner, most of the time.
Stupid people tend to live a life of misery, caused by themselves, and feel this misery must be projected onto others at every opportunity.