For the character to be a good character, in my opinion, he needs to be someone who is not perfect, you know, he needs to make some mistakes and learn from them and he also needs to do things that are minimally important to the story. There's no point in having a character who doesn't do anything.
I don't know about relationships, it really depends