Viral infections aren't purely binary though. It has been shown that the peak severity of infection is correlated with how big of a viral load you are initially exposed to.
So a mask can help decrease the severity of the inevitable infection by decreasing how much viral bodies you inhale.