We all change, Hannoona, especially from our childhood attitudes. We simply did not understand the issues as children. As a little 5 year old, for example I was instinctively homophobic.
While walking with my Dad we bumped into a man who worked for him, Alan. I had only ever seen Alan in his boiler suit and flat cap before, but here he was, gay as a daffodil, in a linen suit, shirt embroidered with roses, and long auburn hair cascading over his shoulders. I was decidedly rude, staring and giggling etc. When we parted company and went on our way, Dad took me to task about my attitude. So I criticised Alan's hair and clothes and the fact he and Dad had talked about Alan's BOYfriend.
Well, Dad asked me why he was not allowed to have long hair. and I said that was wrong for men. "Why?" asked my Dad, "Should we all look alike - wouldn't that be boring?" In the end I conceded that it was OK to have different hair.....the questioning went on and on, all the way home, until by the time we got home I was embracing differences and being glad of them. I believe Dad's way of questioning me and leading me to a better conclusion is called the Socratic method, but Dad would not have known that. He was simply far more decent about human differences than most folks in 1950.
So I was educated from a very young age against all sorts of prejudices, including racism and sexism as well as homophobia, but the truth is, few people had that advantage.
It took many long decades for change, and as long as we move with the times and reject old prejudices and bad attitudes, we should not be ashamed of what we once thought.