@DrasticDreamer: in that passage, Paul is talking about a bunch of people who practiced idolatry, and claiming that God punished them by turning them gay. His audience was the Roman congregation, made of mixed Gentiles and Jews, which was having a real issue with the Jews considering the Gentiles second-class because they did not adhere to Jewish purity codes, and the Gentiles considering the Jews to be a bunch of arrogant bastards because Christ’s teaching made it clear that salvation was offered to all.
So Paul, as a rhetorical device, used as an example a bunch of hypothetical people who committed idolatry—a far, far worse sin in his eyes—and then claimed that God punished them by making them homosexual, which was a severe violation of the Jewish purity codes laid out in Leviticus. He was doing this to get the Jews in the congregation on his side, so that when the letter was read, they would be nodding in agreement, thinking, yeah, obviously, those Gentiles, how disgusting! But then he delivers the punch in the next chapter, pointing out that the behavior of the Jews is no better.
It’s not a condemnation. It’s a rhetorical device in support of a larger argument, which is that Jewish purity codes are irrelevant after Christ.