There are no lack of spending for schools and housing and infrastructure and welfare.
15% of federal spending is for defense, of which F-35 spending is part of.
To compare, 22% is for social security, 14% is for health, 10% is for medicare, 3% is for education. Note that this is federal, most of education spending is at state and local level.
https://fiscaldata.treasury.gov/americas-finance-guide/feder...