I think this is true in many cases, but not all. A lot of people, especially older people, grew up in an environment in which homophobia was absolutely rampant and totally unquestioned. It isn’t surprising that these attitudes can be deeply ingrained, even if they’re not repressing their own feelings.