The mask mandates weren't to protect you, they were to protect others from you. If everyone did this, the spread would have been massively reduced, and super-spreader events wouldn't have happened anywhere near as much.
Unfortunately, a great many people simply refused to distance and wear a mask, and then when they became infected, spread it far and wide, sometimes not even aware that they were doing so. Approximately 40% of those infected were asymptomatic, meaning they would feel fine but still make others around them sick (or end up killing them).