The federal government is setup to be inefficient. This is considered to be a security feature rather than a defect. I'm not talking about corruption or even blatant misspending. I'm talking about the intended structure of government organizations.
Teams tend to be very siloed from most other teams. I use to work with them as a contractor, and I was told not to engage with other teams unless they gave me a good reason for them to receive the information they were asking for. I received the same type of response when I asked other teams for information I needed to do my job.
They have an "Unless you need to know, you don't need to know" approach. Given that I was working in an organization that has a significant impact on the US and world economy, that approach isn't terrible. However, it causes a lot of inefficiencies across the business. It makes it difficult for teams to work together and causes a lot duplication of technical solutions to similar issues which causes duplicate teams across the org when one decent sized team could provide a standard solution.
They are also very slow to adopt new and more efficient technology to solve problems. This is because they need to thoroughly vet the code base of new technology for security risks. It seems like they have been more proactive about vetting new tech in the past few years, so this is improving a bit.
Trump/DOGE getting rid of USAID and stating the State Dept can handle the useful effort USAID delivered helps move in the right direction. It results in less duplication and wasted spending.
It is unfortunate people will lose their jobs, but good employees will find new jobs.