God wants us to be happy. Societies that countenance homosexuality cannot be happy. Hence the condemnation.
On this point, if you read Romans 1 carefully, it appears that homosexuality isn't being punished as much as God is using homosexuality as the punishment for earlier rebellion. God allowed sinners to be turned over to an even worse sin.