One of the great issues in biology is the origin of altruism - of why you would do something for someone else that could hurt you - and Darwin posited that it might be rooted in maternal instinct, in sacrificing yourself for your children.
Before Darwin, our world was very religious. People saw altruism as something given by God for us to be good so that we could go to Paradise.