The ability to lead make you a good leader. You don't need to have a straight character for you to lead people. You know why? No matter how yo act there will always be people that will say good or bad about your judgement. As a leader, you only need to do what is right even if it affects what you believe in or don;t reflect your character. However, we always see the opposite in our current leader. They will rather put themselves first before the masses.
No doubt, you are on the right track, but don't you think that, before you have that ability to lead you most have that genuine character that will really attract people to you?
That is why they said people with a questionable character are not meant to occupy a position or be a leader.
Some people just assume that a leader is a position that command authority alone thereby disregarding other traits which makes no sense, well change is constant cause I've seen people with good intentions assume leadership positions and change cause they carried away by much authority they command.
Being a leader command respect because it a position that's very influential but a leader should be one with a good character and can inspire people.