That is one way of looking at it, the other is why force yourself to suffer if neither you nor anyone around you is at threat from the virus.
My threat model is different, everyone around me is healthy and young--with I myself being the only one with a chronic condition leaving me more vulnerable to Covid but still no that much--locking myself would be more unhealthy.
I don't see it as selfish, I'm not forcing anyone who is at risk to take the risks I am taking. They can stay at home for as long as they want, it is their life after all.