If we could ask the dog "death now, or try your luck on the street?" I assume it would choose the latter. Being a street dog is a hard life, but it's not all suffering. We kill the dogs because letting them roam free is an inconvenience to us. It's not an easy problem to solve, hence all the urging to neuter and spay.