Technically true, but I am under the impression that there is a lot of overlap. Many of the Taliban got their start as mujahadeen. The Taliban is what happened when a bunch of different small groups that were united in their wish for a fundamentalist islamic state banded together and formed a government. No matter how broad the initial coalition of factions is, in most revolutions it is the most extreme and violent groups that end up in charge.
The whole thing is a giant clusterfuck/tragedy. And it has been that for a LONG time. Our intervention was hugely costly in lives (mostly Afghans) and money (much of it stolen by corrupt government officials). We temporarily made life in the cities bearable for women but we never had much effect in the countryside and the Taliban has pretty quickly reverted the cities to extreme repression.