Karma says if you're a rich pig this life you probably were especially noble in your past life and therefor deserve your rich status now. Or, alternatively, and more commonly I think, it allows someone to say that rich bastatrds will "get theirs" in the next life (and won't they be sorry then).
Dharma is the acceptance of life as it is-- don't try to change it.