If you would bother your self to read the constitution, you would see that defense spending IS constitutional, where as federal charity, i.e. welfare is not.
“I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on objects of benevolence, the money of their constituents.”
James Madison
Widely regarded as the " Father of the constitution"