For one thing, society is comprised of individuals and individuals do not necessarily think in terms of whether their actions will benefit or harm society let alone whether it will improve human survival on an evolutionary scale. (In fact, the latter wasn't possible prior to Darwin and Mendel.) For example, let's say a person murders another person and then feels guilt.