“Nice guy” is just another name for “doormat”. It’s far better to be a good man than it is to be a nice guy. The key difference is a good man is a MAN, not a guy.
Have a backbone, stand for something, be decent to everyone. The rest will take care of itself.