This is another big victory for Republicans, one for which Speaker Mike Johnson must to be praised. It's certain that Democrats were never in a good situation as the Trump administration would be able to cut spending with the funding bill approved or with the government shut down, but GOP unity left the opposition in a no-win situation.
When faced with only bad options, one must choose the lesser evil. Some Democrats argued that triggering a government shutdown would allow Trump to take more power, while others pointed out that the funding bill would give him near-absolute authority over several projects. This is a bitter defeat that may have disastrous consequences, but the Democrats had little choice in this instance.