All you're doing here is highlighting the reason why religion as a philosophy is a backward mentality and should be, for the sake of all humanity, consigned to history that we should learn from as a time when people were bigoted enough to use an imaginary sky fairy as justification to be really shitty to other people.
If any culture condones condemning people to death for how they live, not through choice but through natural expression, then it's a culture that really needs to disappear. I've said that of Christianity for many, many years. There's a reason Atheism is the fastest growing ideology in the world. Over 1 billion in 40 years, worldwide.