The person who wields the Time Stone cannot see past the point of their own death, so that was probably the only scenario in which they won without Strange dying.
Also, the Multiverse was closed off at that point in time (until the LOKI season 1 finale).
Can someone explain me why dr strange lied to tony about about there being only one way to beat thanos out of 14,000,605 possibilities?