Kipling has this
If you can wait and not be tired by waiting
Or being lied about, don't deal in lies
Or being hated, don't give way to hating
And yet don't look too good, nor talk too wise.