But unless that thing is an actual mask, like an N95/N100 or P100 with cartridges, the particles can go right through.
I'm definitely not against masks, because it's at least some form of barrier, but don't let it make you overconfident either. People also need to learn to wear them correctly (cover the nose)! Hand washing is so important, yet so overlooked, because I still see people touch surfaces and then touch their face without sanitizing. This is what causes a lot of illness in general.