If you're rude to your parents, you shall be stoned to death.
If a wife cheats on her husband she shall be stoned to death.
People with leprosy shall be banished outside the city, and must yell "Unclean, unclean" whenever someone comes near them.
These are just a few of them many, many, laws that were instituted in the Bible. Do we still follow them? No. Do we see them as ridiculous? Yes. Why? Because we have become more civilized over the millenniums since these antiquated laws were instituted.
And no nation has ever been destroyed because they were homosexual. That's just laughable. That same Bible tells you that the sins of Sodom and Gomorah was that they were greedy and inhospitable to strangers.
Should gay marriage be legalized? Yes it should, all over the world, and sooner rather than later..
In Canada we legalized it in 2005, and still haven't had "fire and brimstone" rained upon us.