Where did I say it was?
Trump bears part of the blame, because his administration negotiated with the Taliban (so much for "the USA does not negotiate with terrorists) to withdraw the US forces starting in July 2020 - when he was still in charge - and ending in May 2021, while also kicking the can down the road on actually planning it. Biden bears part of the blame for sticking to the withdrawal and not implementing a better plan despite a few extra months of delay (which again destroys your ludicrous point that he made the decision with a night's notice).
Obama bears part of the blame, because his administration repeatedly kicked the can down the road on withdrawal despite literally campaigning on it - he initially sent more in and though he did pull out 65,000 troops, the 2008-promised withdrawal never happened. GW Bush bears part of the blame because he started the damned thing on the basis that the Taliban were sheltering Osama bin Laden and wouldn't hand him over, as well as allowing a base of operations for the wider Da'esh organisation. The Carter, Reagan, and GHW Bush administrations bear part of the blame for funding and arming the mujahideen (of which the Taliban was one) against first the extant Afghan government to encourage Russia to invade, and then the Russians. As did the UK and Saudi Arabia.
There's plenty of blame to go round (including to the totally ineffectual and corrupt Afghan military who, despite being provided with US weaponry and outnumbering Taliban forces 2:1, apparently just gave up), and centering it on a single US administration is at best one-sidedly short sighted and smacks of ignorant axe-grinding.