Bob's intelligence and Bob's morality are orthogonal. They're totally distinct concepts. One does not lead to the other.
But they are dependent. If Bob is intellectually well equipped, and reasons long enough, than Bob understands "best behaviour".
But they are dependent. If Bob is intellectually well equipped, and reasons long enough, than Bob understands "best behaviour".