Irrelevant. This isn't about screwing over republicans, it's about making a deal that's best for the country which will probably not happen simply because Trump doesn't want it to.
The crazy thing here is, I believe almost everyone in Congress except a small extreme handful really want this deal. Democrats by and large recognize that the southern border is a real issue that really needs to be addressed, but many feel like their base will punish them if they look like they're helping republicans. I think the same is true of most republicans who recognize that we cannot allow Putin to just seize Ukraine, but don't want to upset their base either. So this is a very rare opportunity to make real progress on real issues while giving each side something to tout as well as a defense against the extreme elements of the party.
But because of one man, who is actively demonstrating that our political system is in his mind not about what's best for us but what's best for him, the deal may not happen at all. That is absolutely remarkable, but what's worse is that the people screaming the loudest about wanting border security will once again invent an alternative reality to avoid having to deal with it.