The context is fine. But you're explaining why the stone age tribe that wrote the bible didn't like homosexual behavior, and considered it worthy of death. By your own admission this passage has something to do with homosexual behavior. You seem to be contradicting yourself.
Again, this passage is not condemning homosexual behaviour at all. The punishment described is Leviticus is the "abomination" of acting against the Holiness Code (in this case, procreation), not the implication that these men were gay or not. Jesus and Paul both said the Holiness Code in Leviticus does not pertain to Christian believers. Nevertheless, there are still people who pull the two verses about men sleeping together from this ancient Holiness Code to say that the Bible seems to condemn homosexuality.
Obviously, it does have to do with homosexuality regardless of whether the main point of it is as you say.
It says they are to be killed. What more do you need to see that it's condemned?
It says that they are to be killed for not willing to procreate, or help grow the nation, not because they were gay. This is why Onan was ordered to be killed, because he "spilled his seed upon the earth". Any straight man who did the same thing probably would have met the same fate.
If your god wants people to read & understand, it should be much clearer.
The Bible was written in Hebrew. Unfortunately, proper translation suffers along the way. Regardless, certain Bible verses should not be understood as God’s law for all time periods. Some verses are specific to the culture and time they were written, and are no longer viewed as appropriate, wise, or just.
Yet clearly lust between two females or two males is the very definition of homosexual acts. It says "contrary to their nature". It says "their error" The Hebrew word for sin litteral means... "to miss the mark" or to "error"
In my experience, Romans is one of those verses that anti-gay Christians (and non-Christians alike) flock to when the other verses fail. The letter that Paul wrote to the Roman church has nothing to do with
natural same-sex attraction. Again, we have to put this into context of the time it was written.
In this time, a multitude of religions worshipped idols (worshipping something other than the one true God). Paul also heard about "sacred sexual orgies" as a form of worship. On his joruney to the Mediterranean, Paul had seen great temples built to honor Aphrodite, Diana, and other fertility gods and goddesses of sex and passion instead of the one true God the apostle honors. It is this pagan worship through sexual orgies that Paul is talking about. Within these drunken orgies, naturally-born hetrosexuals "gave up" their natural desires for what was unnatural to
them. It was the straights who went against their own nature, not naturally born homosexuals.
Paul, at no point in his writing, spoke to same sex orientation. He spoke of those who turned their backs on God and chose to worship false gods of fertility (as I mentioned, Aphrodite, Diana, etc).
I'll even take it one step further and say that the biblical authors are silent about homosexual orientation as we know it today.They neither approve it nor condemn it. Homosexual orientation wasn’t even known until the 19th century.