It’s a bit more than just that. If you look at successful counter insurgencies throughout history then you see it’s the defining trait. Afghanistan is an example of what happens when you try to change the culture at the same time, have a corrupt reporting chain that doesn’t report failure, and the enemy can hide in the next country over. You can do everything right and still lose, and we didn’t do everything right.