Ukraine winning means the dying of civilians stops. Ukraine giving up would not have the same result.
Ukraine winning, Ukraine giving up, Ukraine making a peace deal with Russia, Russia winning - all those options will mean the dying of civilians stops.
The only option where people will continue to die is the option you (probably) support - continuing the war.