If you want a purebreed, shelters often have them available, and you can also contact a breed rescue group. If you choose to buy from a breeder, do your research to find a responsible breeder. Don't support puppy mills.
Accidents can happen to even the most responsible pet owner.
There are health benefits to spaying and neutering, and you won't produce more unwanted litters. This reduces the demand and market for puppies and kittens. Older pets make great companions, and are usually housebroken and calmer than younger ones. Sometimes financial and personal issues make it difficult to care for our pets. But they are our responsibility, and when we make the decision to acquire a pet we make a commitment for the life of the animal.