I spent a week in a small apartment with someone who had symptomatic Covid. Close contact the whole
time. Neither of us wore masks.
I never got it.
An anecdote means very little, and certainly is not evidence that masks work without controls for every other thing that might have prevented you from getting infected.