It's about developing the security environment, which includes developing all of the necessary security forces and the institutional/enterprise infrastructure. Without appropriate reforms throughout the security structure, training and equipping mean nothing.

I would also note that leaving behind a bunch of trained and armed militias in places like Afghanistan isn't the best idea I've heard. Flash back to 1992, and that's about what we did. The results were less than desireable.

On a positive note, South Korea was/is a success story in my book. 15 yr after the ceasefire, the ROK was able to secure its entire border with the exception of a narrow corridor in the 7ID/2ID sector, AND send two divisions to Vietnam! Now -- the rule of law/anti-corruption evolution took longer, but appears to be holding.