From an Old Testament theocratic legal framework, similar to today's legal framework, a person is convicted of a crime, if they are deemed to have done so wilfully and receive the maximum penalty for their crime, if they are repeat offenders who have already been given leniency/mercy.
Many of today's legislation highlights maximum penalties for offences, but seldomly does a person receive the maximum penalty.
In the Old Testament, the maximum penalty legislated is death for homosexuality, however seldomly would a person get the death penalty for one offence or even two, if they are shown to have not wilfully committed the offence.
So there would be penalties as a consequence no doubt and a process of affording leniency to the offender. However repeated offenders may finally face the music and get death, but I would not think that it would be the first point of call for a judge in administering justice.
So the judges within the Old Testament court systems had processes in place to try and resolve the matter, by taking into consideration, whether there was genuine repentance and refraining from repeat offences of the same crime or there was wilful neglect and repeat offences of the crime.
So punishment may not be death as the first point of call for the offender, but a process that allows the offender to vindicate themselves through future probationary works, that is through restitution. No doubt that offender would be watched very carefully within their community and any future intention to break the law, may not have the leniency afforded to them. It is the same way God works with people, who ask for mercy.
Don't think that the Old Testament courts were not merciful, after all the last thing that they wanted is a tribal revolt as a result of a member of a certain tribe being murdered without the offering of mercy and the settling of the matter through restitution.
In turn, the tribal head of that community would put pressure on the offender to not bring his tribe's name into disrepute.
So the theocratic governance placed certain responsibilities on the head of tribal leaders to deal with their own communities, without the court systems getting involved heavy handedly, by executing every homosexual. Executing every homosexual would not be the solution to running a theocratic governance and it would be better to be seen as exhausting all avenues before a death sentence is handed down.
It does not and this is where your misconception lies. Your confession before God and the body of Christ, whom is us and all who have shared in your testimony, is your priestly jury who offer you mercy, so that you can through spiritual restitution vindicate yourself and through genuine repentance be cleared of any wrong doing by the Righteous Judge on the Final Day of Judgement of the Dead.
You would not be worthy of death today under the priestly Theocratic Monarchy under Christ Jesus, than you would be under the Old Covenant Theocratic Religious System.
However be warned, that it is written....
Hebrews 6:4-6
4It is impossible for those who have once been enlightened, who have tasted the heavenly gift, who have shared in the Holy Spirit,
5who have tasted the goodness of the word of God and the powers of the coming age
6and who have fallen away, to be brought back to repentance. To their loss they are crucifying the Son of God all over again and subjecting him to public disgrace.
Hebrews 10:26-31
26If we Wilfully keep on sinning after we have received the knowledge of the truth,
no sacrifice for sins is left,
27but only a fearful expectation of judgment and of raging fire that will consume the enemies of God.
28Anyone who rejected the law of Moses died without mercy on the testimony of two or three witnesses.
29How much more severely do you think someone deserves to be punished who has trampled the Son of God underfoot, who has treated as an unholy thing the blood of the covenant that sanctified them, and who has insulted the Spirit of grace?
30For we know him who said, “It is mine to avenge; I will repay,” and again, “The Lord will judge his people.”
31It is a dreadful thing to fall into the hands of the living God.
In Conclusion, now that you presented your testimony before the body of Christ and the many witesses, you have placed yourself on notice, that from here on, how you deal with your sin, after you have been afforded mercy, is how you will be judged on the Final Judgement of the Dead.
Do you understand what I have written so far?