Once one company in a rich country can produce a vaccine they may patent it. Now poorer nations which might not have the funding for research institutions can not produce it, and people die, because the demand for the vaccine is high, but only a monopolist produces it for decades.

This applies both to Vaccines and Medication.