The POTUS is also Commander in Chief, which in the US actually means something. If the military were unprepared, Biden should have been made aware of it by his advisers and done something about it. It's convenient to blame it on someone else, whether Trump or the military high command, but as a former president pointed out, the buck stops at the sitting president's desk.