You're wrong and this is dangerous misinformation - N95s are designed specifically to protect the wearer, which is why medical professionals dealing with COVID patients wear them, to protect themselves from catching COVID while they work with infected people.
However, N95 masks are not an unlimited resource, and there was a shortage at the beginning of the Pandemic, so regular people were discouraged from buying them because Medical Professionals NEEDED them to help treat COVID patients. Doctors and Nurses were dying from lack of N95 masks because regular people were buying them up, not understanding that an N95 Mask only works properly if fitted to you by a professional. So N95s would be wasted on the average person.
Instead, regular Cloth Masks were encouraged for the general public as Source Control rather than Respiratory Protection. Cloth masks would stop sick people from spreading COVID and getting others sick, and since many people were asymptomatic for weeks it was impossible to know who actually WAS sick, so EVERYONE was told to wear them. But Source Control only works if everyone partakes, since Cloth Masks don't stop COVID from getting into an uninfected person, they only stop them from getting out of an infected one. Since it can still be weeks before an infected person shows signs of being infected, people are encouraged to assume they ARE infected and wear a mask to prevent the chance of spreading their potentially infected droplets. Regulations are different to account for Vaccination status, but this is the baseline.
So yes, wearing a Cloth Mask (or other, non-N95 Mask) IS about protecting other people, because the only mask capable of actually offering Respiratory Protection to the wearer was in dangerously short supply. Production has gone up since, but again, you need to be fitted properly for it to to effective, so unless you have a professional who can fit it to you there is no point in trying to wear an N95 to protect yourself.
Look up Source Control vs. Respiratory Protection if you need to understand more.