If your dog hasn’t had any socialisation with other dogs then he is likely to be aggressive and appear to ‘hate’ other dogs.

A dog snarling at two other dogs on the beach
It is very important that your dog is properly socialised with dogs from a young age, although no dog is ever too old for training classes and many adult classes are available to get your dog properly socialised.