They were both fools for thinking being determined to do something is sufficient substitute for being capable of doing so. You can’t “give” the Afghans a sane elected government. That requires a sane, educated electorate.
It is my position that a major ground offensive in Afghanistan to establish stable democratic institutions was a bad idea from the beginning. Not because it was an ignoble goal, but because it was, and is, an impossible one.