You are quote mining like many of your anti Christian fellows here.
Provide us with the context and then we can discuss the verses. Copy and paste the entire book in which that passage is located and let us discuss it, verse by verse.
No, what you think was said by others in the thread is not what was said. Again:
New International Version - 19:23
23 By the time Lot reached Zoar, the sun had risen over the land. 24 Then the Lord rained down burning sulfur on Sodom and Gomorrah—from the Lord out of the heavens. 25 Thus he overthrew those cities and the entire plain, destroying all those living in the cities—and also the vegetation in the land. 26 But Lot’s wife looked back, and she became a pillar of salt.
Now, you may have been taught never to question things which are presented as being of the entity you hope exists, or taught that it can do no wrong, and so what would be wrong for someone else to do, it is not wrong for the entity to do. But anyone can modify their belief system to some purpose; It's purely intellectual, there are no real constraints.
All that is being said, and what you could be fully aware of, is that it is written in the Bible of an action presented as being done by your god which is wrong. Not that it was done for no reason or for a bad reason, but simply that it is wrong.
In a human, such an act as is described would be an example of an unbalanced mind and the motivations for the act, deep down, would not be benevolent. This is relevant, again, because (strictly speaking, although in any other context I wouldn't have to say that) the books of the bible were written by people.