Eisenhower had a few things to say about that.
A lot of government funded activities tend to be very partisan in nature. For example climate studies, gender studies, ethnic studies, PBS, abortion funding, etc.
How about passing a law that would defund any program that doesn’t have strong bypartisan support?
The Senate’s filibuster rule in a way does some of that. I’d like to see that strengthened and something similar in the house.
Just think how many fewer laws would be passed.