We shouldn't have been in there in the first place.
We had Army (AKA 'Evi Axis' Iranian) intel that bin Laden was holed up in a cave in Tora Bora, and that was the one single only place in Afghanistan that Bush wouldn't allow to be bombed - for something like the first 5 months. When he finally gave the go ahead, bin Laden had long escaped to Pakistan.
"Mission accomplished" in 2 weeks, should have went after bin Laden, and that's it, as James Carville once put it (but after a debate in 2012, if I got that right, or was it 2008?), "Call the dog, put out the fire, let's go home, this hunt's over."
Democracies have to be homegrown to work, and they also require economically developed and relatively modern societies to even begin. There's a reason why they always fail in poor countries. Nobody gives a crap about voting when you got two big bales of hay strapped to a donkey and you're walking 12 miles up a mountain to trade it for charcoal.
They also have a tendency not to work in societies such as in the Middle East or Russia where people are accustomed to millenia of exceedingly top heavy autocratic control. They like their kings. They like their feudal societies. It's what they know. It's what they value. Everything else is viewed as a suspect Western import/imposition, colonialism.