A man's a Man for A'That' is a poem & song (1795) by Robert Burns:

'Is there for honesty poverty
That hings his head, an' a' that;
The coward slave - we pass him by,
We dare be poor for a' that!
For a' that, an' a' that,
Our toils obscure an' a' that,
The rank is but the guinea's stamp,
The man's the gowd for a' that.

What though on hamely fare we dine,
Wear hoddin grey, an' a' that?
Gie fools their silks, and knaves their wine,
A man's a man for a' that...'