phrasal-verb
build immunity to
Meaning
to develop resistance to a disease
Example
Vaccines help your body **build immunity to** dangerous viruses.