It’s actually quite useful from my perspective that they’ve done this. Trump can now see very clearly that Democrats are not to be trusted and no matter what he does that will portray him as a racist.
I think he knew this and planted the sh*thole bomb in someone’s ear to purposely blow up the deal when it was clear that wall funding was no go. Far better than a veto of something that had rino support.