Give a man a vaccine, and he lives for a day. Give a man the opportunity to educate himself, and he will be able to find vaccines to last a lifetime.
Both the short term and the long term are important. So it is strange to make the comparison. Both these investments can co-exist.