Contrary to Liberal Western media publications, the Taliban have a massive following in the population at large. Those of the Afghans who share the West’s values are relatively tiny.
Also another point to be kept in mind is that the Taliban are fighting for what they believe to be the Will of God. This supernatural element of intention creates a HUGE difference in morale amongst soldiers whether or not it’s true.