In context, Kipling is saying that a man's position in society has nothing to do with his character..... the virtues he exhibits. The poet is advocating humility, stoicism, and fortitude above all else.