the idea od OSAS is a bad doctrine is not the issue. It is those who take "election" to a place that means selection.
AS far as a temptation to be tempted is not a sin, it is the lust that draws one to sin which brings forth death.
The bad doctrine is teaching that one can do enough pray enough fast enough and the temptation will not happen. AS long as we are in this fleshly body we will be tempted. We are to battle daily. We have an enemy to our souls that don't tire and is relentless.
Roman chapter 6 says.
6 What shall we say then? Shall we continue in sin that grace may abound? 2 Certainly not! How shall we who died to sin live any longer in it? 3 Or do you not know that as many of us as were baptized into Christ Jesus were baptized into His death? 4 Therefore we were buried with Him through baptism into death, that just as Christ was raised from the dead by the glory of the Father, even so we also should walk in newness of life.
5 For if we have been united together in the likeness of His death, certainly we also shall be in the likeness of His resurrection, 6 knowing this, that our old man was crucified with Him, that the body of sin might be done away with, that we should no longer be slaves of sin. 7 For he who has died has been freed from sin.
8 Now if we died with Christ, we believe (faith) that we shall also live with Him, 9 knowing that Christ, having been raised from the dead, dies no more. Death no longer has dominion over Him. 10 For the death that He died, He died to sin once for all; but the life that He lives, He lives to God. 11 Likewise you also, reckon(count it to be so, because it is so) yourselves to be dead indeed to sin, but alive to God in Christ Jesus our Lord.
12 Therefore do not let sin reign in your mortal body, that you should obey it in its lusts.
13 And do not present your members as instruments of unrighteousness to sin, but present yourselves to God as being alive from the dead, and your members as instruments of righteousness to God. 14 For sin shall not have dominion over you, for you are not under law but under grace.
We must come to the understanding temptation will happen but OUR Mind of Christ has to be we will not do it in the name of Jesus. I am dead to that mindset, it has no more hold on me.
THROUGH Christ I can put down :
homosexuality, adultery, fornication, drunkness, lying, hate. perversion. We must call out to Christ as new Creatures in HIM having our minds renewed by the word of God.
Trying to deal with the attacks of the flesh and the devil we cannot stop that from happening, but we can through the power of Christ His resurrection power rebuke the condemnation of the temptation.
The devil and the flesh consistently pull you to what God said do not do.
The temptation is " do it do it!!" the condemnation is after you do it the devil who said Do it shouts LOOK what you did and bring hurling accusations before the Lord of your sin as the accuser of the brethen.
We must repent and hold to the word of God and move on not give up. Nor try not to be tempted we avoid sin and the places of temptation but the flesh & the devil will not stop trying to pull you to do what the flesh love to do. CS1's flesh will desire things that are not of God, I must tell my flesh and the devil I am a New Creature in Christ Jesus and I have been set free from that. I will not do it anymore in Jesus' name. You do that enough times as the word says James 4:7 " Submit yourself to God resist the devil and he will flee from you.