Ok, let me clarify.
You don't "learn empathy". Almost everyone (except some seriously broken minds) has empathy, even if only for their immediate family. Even Republicans. You can see this in the way they care about family and realize things are bad when it affects them.
What you CAN learn is that empathy shouldn't apply just to your family. Or just to your race. Or just to your species. It's a skill you can grow and refine. You weren't born caring about people you've never met. Your mind couldn't conceive of it. Now it can. You learned.
Plus, doing all the things you mentioned would lower those people's chance of mating. Eugenics. Or "eugenics light" if you're feeling particularly offended.