We lost Iraq and Afghanistan on very, very unfavorable terms. If you call our last twenty years of forever wars winning, you are nuts.
We gave them both up long after directed military conflict. It was political failure, not a military failure. So was Vietnam.