Slavery is one example.
What troubles me is the way that some modern Christians try to use the Bible to validate sin.
Scott Lively, for example, a conservative evangelical Christian, known for his propaganda such as The Pink Swastika, claiming homosexuals created the Nazi Party (despite the group being with the Jews and others who were gassed), went to Uganda, and having ties to religious and political leaders convinced the government to make homosexuality illegal, with prison time and even execution, misrepresenting the Will of God to be to punish homosexual with death by using Leviticus.
He justifies his sin of representing lies as facts, lying to his neighbor, going to other countries to get them to pass the so-called "Kill the Gays Bill" as simply doing God's will, following scripture, and trying to discourage homosexuality.
A friend of mine from Uganda said it created an atmosphere of paranoia, fear and hatred that made the country extremely violent, violence towards glbt common, and even had one friend who was straight but beaten to death simply because he was perceived as gay by his attackers.
Is any of this loving your neighbor?
There have been a number of Christian groups fighting against glbt equality in jobs, health insurance, and housing. Those fighting against making discrimination illegal simply claim the oppose homosexuality, and to have protections against being unfairly fired from a job, for example, is promoting homosexuality.
What it does promote is discrimination, and unfairness, and often, violence of a marginalized group. That is not loving your neighbor.