For diseases like measles, it's entirely due to human stupidity and society's unwillingness to oppose the stupidity and take the public health steps necessary to eradicate the disease. I agree with you. We're never going to complete any global public health project that relies on uninformed (or misinformed) people making voluntary decisions.
Most free countries have decided that freedom includes people having a right to be stupid, at least up to a point. And we've had several generations now raised on the "my body my choice" mantra so reversing course will take some time.