Even the US could not win in Vietnam and Afghanistan but not because these countries had objectively stronger militaries.