The difference in Germany is that they made a historic change to their consitution where they are now able to grow their military by borrowing way more money. They are not moving money away from healthcare and infrastructure, they are actually creating a way to increase their military budget without having to move money away from healthcare and infrastructure (because in Germany, the money is sorely needed there as well).