This is especially ridiculous when the failures of X Y and Z came from administration issues (failures of oversight), picking shitty contractors, buying faulty equipment, etc. all of which are solvable/preventable.
The takeaway of these past failures shouldn't be that securing the border is impossible and not worth even attempting. The takeaway should be that programs need to be meaningfully and intelligently invested in (maybe going with the lowest bidder or your personal friends/donors isn't always a good idea), and that there needs to be oversight and accountability to make sure that those funds aren't being wasted or pocketed by corrupt public servants and private contractors to ensure that systems are implemented correctly and maintained.
Of course it's going to take "record-level funding" to implement a massive solution when previous attempts were entirely half-assed, designed to attract and allow for corruption, and then neglected. Congressional leaders and the American public should be shocked and outraged at the money that's been wasted and they should be working to design a system that avoids those pitfalls and actually does the job right. Ideally we should also be tracking down the people responsible for those past failures and holding them accountable too where it's possible.