A lot of government spending is (again, technically) them giving money to the folks who spend the money to produce GDP-y things. NASA hires Boeing, ICE buys cloud services from Microsoft, the military buys Starlink, etc.