> US's goal there wasn't to win anything since there's nothing of value there
War is only a tool, dominating a country or region militarily is not the same as winning a war if you have not achieved its political goals. In Afghanistan, those goals were not achieved, which means the war was lost.
What were the goals for Afghanistan?