I want to say the following sentence as a way of comforting a poor person.
There is no shame in it since the real poverty is in manners rather than in money.
it refers to the fact that s/he is poor.
There is no shame in being poor since the real poverty is in manners rather than in money.
I'm not sure of the preposition in in the sentence, I intend the first one as it is a part of a dialogue where the person mentioned their state before.