It was pretty obvious the deal wasn’t going to go through.
Neither side of the Tories likes it, plus Labour wouldn’t vote for the deal whatever she came back with.
She won’t lose the no confidence vote, hopefully she can then either get a better deal or we leave with no deal.

I can’t imagine anybody that could or would have done a better job of it to be fair.