The third New Testament text which is often quoted as evidence that the Bible condemns homosexuality is Romans 1:26-27.
For this reason God gave them up to degrading passions. Their women exchanged natural intercourse for unnatural, and in the same way also the men, giving up natural intercourse with women, were consumed with passion for one another. Men committed shameless acts with men and received in their own persons the due penalty for their error.
One of the striking things about this passage is that it not only appears to refer to female homosexuality – which would make it unique in Biblical literature and rare in ancient literature generally – but also that such a reference to female homosexuality doesn’t become evident until the reader gets to the next verse which appears to refer to male homosexuality. In other words, the reader is left wondering about the meaning of “women exchanged natural intercourse for unnatural” until they get to “men, giving up natural intercourse with women, were consumed with passion for one another,” concluding that it refers to male homosexuality, and then having to read back female homosexuality into the earlier words. If this is the writer’s intention then it is certainly an awkward way to go about it. It is also odd that he doesn’t say “women with women” in the same way as he says “men with men” leaving open the question of what he means by women exchanging “natural intercourse for unnatural.”
Putting aside the conclusion of several scholars that this section of Romans is a late addition and was not written by Paul, I want to look at it in the context of the overall structure of this section of the letter which begins in verse 18. We should note a certain structural repetitiveness in this section:
1. “They exchanged the glory of the immortal God for images” (v.23), so “God gave them up in the lusts of their hearts to impurity” (v.24).
2. “They exchanged the truth about God for a lie and worshiped and served the creature rather than the Creator” (v.25) so “God gave them up to degrading passions” (v.26).
3. “Their women exchanged natural intercourse for unnatural, and in the same way also the men … committed shameless acts with men” (v.26-27) “and since they did not see fit to acknowledge God, God gave them up to a debased mind and to things that should not be done” (v.28).
The tight structure and repetition of “exchanged” and “God them up” highlights the three attributes of God which come in between: God’s glory, truth and knowledge. In his commentary on Romans, Brendan Byrne  describes this series of repetitions as ‘waves.’ Each wave begins with an ‘exchange’ and crests with God’s ‘giving them up,’ building in intensity until the third wave ends with a crash. Once we recognise the repetition we can see that Paul is providing three examples of idolatry: making images, worshipping idols, and sexual debauchery as part of idol-worship. Each example concludes with God “giving up” the idolaters to certain consequences.
The association of sexual debauchery with idol-worship would have been familiar to an ancient audience, and certainly to one familiar with the Hebrew Bible. In earlier posts in this series, for example, I have referred to Biblical texts which mentioned both male and female temple prostitutes and why it was regarded as abhorent for Israel to worship God in this way. The similarities between Romans 1:18-32 and two other texts in particular are so striking it is almost certain that Paul must have been familiar with them, and may have been directly alluding to them. For example, Paul’s line that “They exchanged the glory of the immortal God for images” seems to come almost directly from Psalm 106:
They made a calf at Horeb and worshiped a cast image. They exchanged the glory of God for the image of an ox that eats grass. (Psalm 106:19-20)
The Psalm continues with a list of various ways the people of Israel provoked or angered God in their worship of foreign gods and images, and leads into a section dealing with sexual debauchery as part of that worship:
They mingled with the nations and learned to do as they did. They served their idols, which became a snare to them … they sacrificed to the idols of Canaan; and the land was polluted with blood. Thus they became unclean by their acts, and prostituted themselves in their doings. (Vv. 35-39)
Paul seems to get his “exchanged the glory/truth/knowledge of God… so God gave them up” language from this Psalm which continues with “then the anger of the LORD was kindled against his people, and he abhorred his heritage; he gave them into the hand of the nations, so that those who hated them ruled over them” (Vv.40-41).
There is an even more striking similarity to a long section in Wisdom of Solomon, a book found in the Apocrypha and quoted or alluded to many times in early Christian writings (including some of the writings of Paul). Paul’s language in Romans 1 is so similar to Wisdom 13-14 – a lengthy section condemning the worship of idols – we can be almost certain that he was familiar with it. The section ends by detailing the depraved sexual practices associated with idol worship, and the consequences. Similar to Paul’s mention of exchanging the truth and knowledge of God for a lie, Wisdom says “it was not enough for them to err about the knowledge of God” (14:22) and goes on to list practices associated with their idol-worship:
For whether they kill children in their initiations, or celebrate secret mysteries, or hold frenzied revels with strange customs,they no longer keep either their lives or their marriages pure, but they either treacherously kill one another, or grieve one another by adultery, and all is a raging riot of blood and murder, theft and deceit, corruption, faithlessness, tumult, perjury, confusion over what is good, forgetfulness of favors, defiling of souls, sexual perversion, disorder in marriages, adultery, and debauchery. For the worship of idols not to be named is the beginning and cause and end of every evil (Wisdom 14:23-27).
Wisdom concludes with the judgment that “just penalties will overtake them” – those worshippers who trust in lifeless idols – because “the just penalty for those who sin always pursues the transgression of the unrighteous” (v. 29-31). This too is similar to Paul’s “so God gave them up …” and he follows a similar line in his argument. These verses in Romans 1 are not primarily about homosexuality, but about sexual depravity associated with idol-worship. This sexual behavior regularly involved both male and female temple prostitutes and included both homosexual and heterosexual activity. While Paul speaks of men committing “shameless acts with men” during this idol-worship, homosexuality per se is not the focus of his argument and it would be wrong to draw any conclusions from it about sexual activity within the confines of a loving relationship.
 Byrnes, Brendan, Romans, (Collegeville, MN: Liturgical Press, 1996) p.64.