Or being hated, don't give way to hating,
And yet don't look too good, nor talk too wise:
If you can dream - and not make dreams your master;
If you can think - and not make thoughts your aim;
If you can meet with Triumph and Disaster
And treat those two impostors just the same;
If you can bear to hear the truth you've spoken
Twisted by knaves to make a trap for fools,
Or watch the things you gave your life to, broken,
And stoop and build 'em up with worn-out tools:
If you can make one heap of all your winnings
And risk it on one turn of pitch-and-toss,
And lose, and start again at your beginnings
And never breathe a word about your loss;
If you can force your heart and nerve and sinew
To serve your turn long after they are gone,
Here Kipling is promoting an ideal that fits into the Victorian conception of white masculinity: stoic perseverance. If you are able to lose everything you value and still get back up, it shows true dedication. This can also relate to colonialism: being truly dedicated to an imperialist cause means being able to “keep on keeping on” regardless of how grim your situation is… 

If