While vaccinated people can be infected, the rate of infection is significantly reduced and therefore fewer opportunities for the virus to mutate.
But if the primary originator of variants are immunocompromised people then this wouldn’t be such a benefit.
Fundamentally, very viral replication has a similar probability of a mutation happening and so therefore (it seems to me) that immunocompromised people are only more likely to generate new variants bc their infections last so much longer. Is this correct?