Look into the Judicial Council of California’s case management boondoggle. A few billion was spent with nothing to show for it. I’m pretty sure every “there isn’t enough funding” argument can be countered with real examples of waste, fraud, and abuse.
Money doesn't magically fix management issues caused by a lack of money; people who are not used to spending money may not know how to spend it well once they get it. Lottery winners generally fizzle out their winnings after a few years.
This is also a problem if you spend billions on consultants rather than shoring up the civil service; consultants aren't incentivized properly to deliver a good system on time.