That seems to depend on the mask itself, some masks explicitly state that they offer no protection to the wearer and only serve to provide protection to others _from_ the wearer.
This article, for me, highlights one of the major problems of this entire response. Various establishments keep trying to present a rather black-and-white binary view on these subjects.
They're doing a particularly poor job of explaining the spectrum of risks and protections that are available and how to apply that knowledge to your own individual circumstances.
I had a different underestanding: I thought masks are to protect others, overwhelmingly, and there might also be some protecting power for yourself, in a much lesser amount.
The concept is consistent with "since you can, limit dispersing the droplets".
I unfortunately do not have bookmarked articles about this though. Do you have any good source (e.g. to state that masks have a protecting power for the wearer comparable to that for the others)?
Don’t forget that masks are to protect others at least as much as yourself.