ELI5 why is government spending treated like a business?

r/

There is always so much talk about deficit this and deficit that and we need to be in a surplus. What’s the benefit to the government and its people when they aren’t spending money on services, infrastructure etc