Exactly right. It's a bad way to treat a dog. A close friend got her black lab that way - driving during a bad storm and seeing him, a young pup then, on the side of the road shivering. They found his 'owner', but that idiot had dumped him unwanted. He turned out to be a truly great dog, very protective of her family and her three small dogs (a Yorkie and two female JRTs). Hate to think what may have happened to him.
If I get another dog, it will be a 'pound puppy'.