US Government shutdown averted

This situation comes up regularly and it seemsd a stupid measure foisted upon the long suffering public.
The situation must be tackled differently.
Sure, I do not have the answer. One thing is clear, the US services will shut down again and again in the years to come.
Why don’t the public not vote for those politicians who keep voting against funding the Government?

It does seem to be a mechanism designed to maximise last minute horse trading type negotiations - both between parties and within parties. And that rarely makes for good decisions. This years panic negotiations did pass the bill but it did not feature Trump’s demand that national debt is not increased. No doubt everyone is unhappy.