Withdrawing from Afghanistan may have occurred under Biden, but it was Trump who made the decision to pull out. The only change Biden made was delaying our withdraw by a couple of months.
https://en.wikipedia.org/wiki/United_States%E2%80%93Taliban_...