Maybe God never condemned homosexuality. Maybe the people who wrote the bible were anti homosexual and wrote anti gay stuff cause they knew theyre work would be highly read and respected.

I go to catholic school and my theology teacher always says that God did not write the bible. The bible was inspired by God. God did not dictate to someone and say write this down.

So its probably the authors putting their own beliefs in it and also back then there were far less people and maybe more people meant more people to work the farms and therefore more food.

No one knows the thoughts of God. The only thing God ever dictated to man was the 10 commandments