It means that you should not act in a way contrary to your true character.
A woman that dates a man for his money, when she really does not like him, is probably not being true to herself.
A man that works at a job he hates because of the money is not being true to himself.
These people may have convinced themselves that what they are doing is right, but, in effect, they are lying themselves - they are not being true to themselves.