House Republicans’ legislative attempt to find consensus within their own party on the divisive issue of immigration failed on the floor Wednesday, with the chamber overwhelmingly rejecting their so-called compromise bill, 121-301.

The outcome was predicted Tuesday as a late amendment that was negotiated over the weekend did not convince enough hesitant members to support the bill. The amendment was left out of the final bill.

A last-minute public endorsement from President Donald Trump on Wednesday morning also failed to sway members, many of whom had complained about him sending mixed messages on the bill.

Trump’s tweet Wednesday captured his earlier private views that he supports the bill as well as his previous tweets that Republicans were wasting their time on legislation that can’t pass the Senate, putting a different spin on the latter.

“HOUSE REPUBLICANS SHOULD PASS THE STRONG BUT FAIR IMMIGRATION BILL, KNOWN AS GOODLATTE II, IN THEIR AFTERNOON VOTE TODAY, EVEN THOUGH THE DEMS WON’T LET IT PASS IN THE SENATE,” he tweeted in all caps. “PASSAGE WILL SHOW THAT WE WANT STRONG BORDERS & SECURITY WHILE THE DEMS WANT OPEN BORDERS = CRIME. WIN!”