Arguably we are all habitual sinners, unless someone believes that they have never sinned again.
This is a very tricky Q to answer as there is no clear evidence regarding habitual sinners / salvation. There is also some tension between some passages. There is also some conflict with Paul & Jesus.
Common sense would dictate keep good company and avoid bad company to avoid being drawn into temptation of sin.
Paul appears to be providing a very serious warning – stay away / do not associate from those who are immoral / practice contrary to the teachings. The passages in the Q are very clear, no ambiguity, stay away from these sinners for your own good.
[note: what teachings? Clearly there have to be rules / regulations / commandments we need to follow – otherwise how do we conclude who is ‘unruly’ etc… – which is contradictory to Paul’s teachings by faith alone]
Pauls - contrary to those in the Q
2 Timothy 2:25 Correcting his opponents with gentleness. God may perhaps grant them repentance leading to a knowledge of the truth,
Romans 5:8 But God shows his love for us in that while we were still sinners, Christ died for us.
2 Timothy 2:24-26 - And the Lord's servant must not be quarrelsome but kind to everyone, able to teach, patiently enduring evil, correcting his opponents with gentleness. God may perhaps grant them repentance leading to a knowledge of the truth, and they may come to their senses and escape from the snare of the devil, after being captured by him to do his will.
[Note: after warning to stay away from sinners – Paul now implies be gentle to them and help them, NO ‘put to shame’ or stay away from them]
Paul – does sin really matter
Ephesians 2:8-9 For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, 9 not a result of works, so that no one may boast.
Ephesians 2:5 - even when we were dead in our trespasses, made us alive together with Christ—by grace you have been saved—
Romans 2:4 Or do you presume on the riches of his kindness and forbearance and patience, not knowing that God's kindness is meant to lead you to repentance?
Romans 3:23 For all have sinned and fall short of the glory of God,
1 Corinthians 9:22
To the weak I became weak, that I might win the weak. I have become all things to all people, that by all means I might save some.
[Note: it appears it doesn’t really matter if you have sinned as you can only be saved from the grace of God – so arguably believe in Jesus and do whatever you want]
what did Jesus say
Mark 2:17 - 17On hearing this, Jesus told them, “It is not the healthy who need a doctor, but the sick. I have not come to call the righteous, but sinners.”
Luke 5:32 - I have not come to call the righteous but sinners to repentance.”
Mark 2:17 And when Jesus heard it, he said to them, “Those who are well have no need of a physician, but those who are sick. I came not to call the righteous, but sinners.”
Matthew 9:10 - 10 While Jesus was having dinner at Matthew's house, many tax collectors and "sinners" came and ate with him and his disciples.
Luke 15:2 - And the Pharisees and the scribes grumbled, saying, “This man receives sinners and eats with them.”
[Note: Jesus was mixing with sinners – not saying stay away from them]
can sinners be saved - Yes Repent
Psalms 86:5 "For thou, Lord, art good, and ready to forgive; and plenteous in mercy unto all them that call upon thee.
REV 3:19 "As many as I love, I rebuke and chasten: be zealous therefore, and repent.
Matt 4:17 - From that time Jesus began to preach, saying, “Repent, for the kingdom of heaven is at hand.”
Acts 3:19 - Repent therefore, and turn back, that your sins may be blotted out,
Matthew 3:8 - Bear fruit in keeping with repentance.
I tell you, no! But unless you repent, you too will all perish. Luke 13:3
Matthew 18:3 - 3 And he said: “Truly I tell you, unless you change and become like little children, you will never enter the kingdom of heaven.
Matthew 4:17 From that time Jesus began to preach and to say, ‘Repent, for the kingdom of heaven is at hand.’
Luke 15:10 - Just so, I tell you, there is joy before the angels of God over one sinner who repents.”
[Note: yes you can be saved if you repent]
who do you repent to
The LORD is compassionate and gracious, slow to anger, abounding in love. (Psalms 103:8)
Mark 10:18 is the word "alone": ""Why do you call me good?" Jesus answered. "No one is good–except God alone."
Blessed is the one whom God corrects; so do not despise the discipline of the Almighty.
If this is so, then the Lord knows how to rescue the godly from trials and to hold the unrighteous for punishment on the day of judgment. 2 Peter 2:9
Deuteronomy 24:16 - 16 Parents are not to be put to death for their children, nor children put to death for their parents; each will die for their own sin.
So Jesus answered them, “My teaching is not mine, but his who sent me. If anyone's will is to do God's will, he will know whether the teaching is from God or whether I am speaking on my own authority. The one who speaks on his own authority seeks his own glory; but the one who seeks the glory of him who sent him is true, and in him there is no falsehood.
39. Going a little farther, he fell with his face to the ground and prayed, "My Father, if it is possible, may this cup be taken from me. Yet not as I will, but as you will."
44. So he left them and went away once more and prayed the third time, saying the same thing.
John 8:28 Jesus said "I do nothing of myself"
There is no clear evidence / information in the bible regarding the habitual sin / salvation. You need to Repent to God – only God can save you. Obviously, when you repent your intentions are not to sin again, God knows your heart and if your repentance is true. God is merciful and will forgive, even those who sin again and again.
There is no inherit sin OR Jesus the Lamb died for our sins: see links below.
Otherwise we are not sinners and can do whatever we want, as long as we believe in Jesus as our saviour.
inherit the sin: https://hermeneutics.stackexchange.com/a/62982/33268
Jesus the Lamb: https://hermeneutics.stackexchange.com/a/75324/33268
Ecclesiastes 9:2-4 - 2 Everyone will die someday. Death comes to godly and sinful people alike. It comes to good and bad people alike. It comes to “clean” and “unclean” people alike. Those who offer sacrifices and those who don’t offer them also die. A good person dies, and so does a sinner. Those who make promises die. So do those who are afraid to make them. 3 Here’s what is so bad about everything that happens on this earth. Death catches up with all of us. Also, the hearts of people are full of evil. They live in foolish pleasure. After that, they join those who have already died. 4 Anyone who is still living has hope. Even a live dog is better off than a dead lion!