The Bible has lost every major battle it has ever fought. The Bible was quoted to defend slavery and the bible lost. The Bible was quoted to keep women silent, and the Bible lost. And the Bible is being quoted to deny homosexuals their equal rights, and the Bible will lose.
I grew up in North Carolina being told that the Bible approves slavery and segregation, that it was the will of God.
In supporting argument for segregation, Paul [the apostol] addresses the people in his epistle to the Colossians, and he tells them how to treat their slaves. "Slaves, obey your masters. Masters, be kind to yourslaves." Paul was in favor of a kinder and gentler slavery; it never occurred to him to raise the question about whether slavery itself was immoral.