The introduction to Tevye's 'If I were a rich man' (Fiddler on the Roof) starts by expressing the same sentiments:
'Lord, you made many poor people. I realise, of course, it's no shame to be poor' (though he then goes on to say 'but it's no great honour either!')