I won't speak for other countries, but in the US, the answer to "Why do we spend so much on X" is typically because X is in large part a jobs program for special interests who are really good at lobbying, whether it is healthcare or defense or any other industry.
Representatives like high employment in their districts and employees of X like high salaries. It's an incentive-compatible equilibrium.