Almost everybody uses gloves and face masks improperly, so they don't actually do anything. If anything they make it worse by giving the wearer a false sense of security.
If they expect to adequately protect themselves yeah though that isn't the only thing they're useful for as has been mentioned. As for the gloves, I've seen a number of places have their staff wear gloves only to then interact with other surfaces/items between customers which completely defeats the purpose. Tokenism, really.
The kind of surgical style masks the vast majority are wearing won't filter the air the person breathes since a) they're not respirators and b) they're not designed to provide any seal around the nose/mouth. The goal from what has been discussed seems more to mitigate droplets of the wearer from reaching others (which is closer to how they're used in a hospital scenario), even if some have a sense they offer more protection than they do.
Then there are those with actual respirators (N95, P2, etc). At least there (if they didn't buy some knock-off, of which there are tons) they would have filtration but
only if a seal is achieved otherwise it's not effective and not recommended to be worn by the manufacturer. One has to wonder how many would perform a seal check after donning.
The other issue is contamination from touching the outside of the masks then touching other parts of one's face either while on (eg: eyes) or mouth after removal.
One would have to be conscious of all these things (ie: RTFM) and other factors if one wanted some adequate protection, it's true.