The English learned the hard lesson. The Russians learned the hard lesson.
Of the 200+ countries on the planet, Afghanistan probably ranks last of those you'd choose to pick to fight a war in.
So did Alexander the Great.