If a veterinarian is asking you to inject your dog, the procedure would normally be explained in detail and probably with a demonstration.
The chances of you killing your dog is pretty close to zero but there is a much better chance that the dog will be pizzed at the pain, whip around and bite...