Here's a summary from CNN on where things stood before Trump killed the bill:
"Underscoring just how damaging Trump’s comments and campaign to kill the border deal have been in the Senate, one GOP senator on condition of background told CNN that without Trump, this deal would have had overwhelming support within the conference.
“This proposal would have had almost unanimous Republican support if it weren’t for Donald Trump,” the Republican senator said.
GOP Sen. Thom Tillis of North Carolina – who has also been involved in the talks – said he didn’t know if anyone could convince Trump to not kill the deal. But he acknowledged that it would take some “courage” for members to be able to press ahead at this point in defiance of Trump – though Tillis argued it would ultimately be beneficial for Trump for them to pass a border security deal and help address the flow of migrants trying to enter the country.
“I think this is when members of the Senate have to show some courage and do something that at the end of the day will be very helpful for President Trump,” Tillis said.
Asked whether it was a mistake for Trump to be assailing this deal, Tillis said: “I’ll leave it to him to figure out how he needs to get into office. I hope you’ll leave it to some of us who would support that effort to give him the tools he needs to really manage the border and the abuse and the dangerous situation we have today.”
For his part, McConnell – who has had zero relationship with Trump since the January 6, 2021, Capitol attack – downplayed Trump’s opposition saying, “It’s not anything new,” and insisting they were not abandoning the talks."