It was never claimed to stop you getting it. Same as many vaccines it doesn't give sterilising immunity.
But it's completely possible it stopped you dying or going to hospital.
The vaccine causes almost no damage but COVID 100% causes massive damage if you aren't vaccinated.