This is a quote from the book "The Virtue Of Selfishness" by Ayn Rand
... them that initial good will in the name of their human potential. After that, he judges them according to the moral character they have actualized. If he finds them guilty of major evils, his g
ood will is replaced by contempt and moral condemnation. (If one values human life, one cannot value its destroyers.) If he finds them to be virtuous, he grants them personal, individual value a
nd appreciation, in proportion to their virtues.
read full book
It is on the ground of that generalized good will and respect for the value of human life that one helps strangers in an emergency ...