
It's entirely up to you whether you "just" get rid of this dog or perservere!!
From your remarks, you obviously have no idea how to go about training a dog, how a dog thinks or why a dog acts as he does.
He doesn't listen to your commands because either:
1. You haven't made it clear to him what you expect from him.
2. You haven't given him any incentive (praise, treats, toys) to obey you.
I would suggest you need professional help with this dog - at least take him to a training class where he can be assessed & you can be taught how to train him
Stop looking on him as your "enemy" & start trying to think of him as a dog who needs to be taught how to behave.