Churchill’s, which was similar in sentiment was:
” Never give in, never give in, never, never, never, never—in nothing, great or small, large or petty—never give in except to convictions of honor and good sense.”
In 1953 a self-help book for speechmakers called “How to Say a Few Words” included an instance of the saying without attribution as mentioned previously in this article:
Success has been defined as the ability to go from failure to failure without losing enthusiasm.
via Quote Investigator.
I wouldn’t say it’s “being a man”, although “man-up” , “stiff upper lip”, carries a similar flavor.