The vaccine isn't doing anything in your body to fight COVID-19 infection actively. Your immune system is doing the fighting regardless.
“ your immune system may not learn how to fight COVID-19 as well, because the vaccine is present and doing something.”