The government does plenty of things inefficiently, but DOGE is making such a colossal mess with their rushed, uninformed, and frequently illegal actions that they're causing more problems than they solve. Indiscriminately firing people because they were hired or promoted within the last 2 years is incredibly wasteful. It means getting rid of the people who were most successful. It also means getting rid of people who had very specialized skills or who just went through a very expensive training process.
Also consider how much disruption all of this is causing to the federal workforce and the contractors. People are being forced to upend their lives on very short notice to RTO. They were getting daily emails telling them to quit. It's hard to imagine anyone doing good work when they're scared that some indiscriminate process is going to fire them.