I'm thinking of giving up on a friendship.
Why would you give up on your friendship?
I have given him multiple chances to fix his attitude but he just is ignoring my wishes.
I'm sorry you are feeling that way. It is mean to give up on a friend. I think if you talk things out maybe you can come up with some ideas on how to keep being friends.
I know, I don't wanna lose him but he's not even understanding what he's been doing that is wrong.
It's best to try to talk it out and explain what they're doing wrong. Perhaps try wording things differently.