If Biden pulls out at this time, people will blame him for having spent so much money for nothing in return, betraying allies and breaking promises.
Don’t forget he retreated from Afghanistan too early and literally handed back the country to Taliban. As a result, he was widely criticised for his reckless decision. He will think twice before leaving Ukraine if he has learnt a lesson