The man who has salvation does works in line with the fruit of the Spirit.
Galatians 5:22-23
22But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness,
23gentleness, and self-control.
1 Corinthians 6:9-11
Do not be deceived: Neither the sexually immoral, nor idolaters, nor adulterers, nor men who submit to or perform homosexual acts,
10nor thieves, nor the greedy, nor drunkards, nor verbal abusers, nor swindlers, will inherit the kingdom of God.
11And that is what some of you were.
Galatians 5:19-21
19The acts of the flesh are obvious: sexual immorality, impurity, and debauchery;
20idolatry and sorcery; hatred, discord, jealousy, and rage; rivalries, divisions, factions,
21and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who practice such things will not inherit the kingdom of God.
The person who believes in Christ can not go back and stay in these things again. He might dabble around in them again out of foolishness. Or be overwhelmed by some circumstance of temptation and stumble into them again. But in the end he can't stay in those things. The believing person will come back to Christ. He can't believe in Christ and stay in his old life at the same time. So if a person finds they have gone back to these things to stay, that shows they are not believing in Christ. They are not ready to be judged by Jesus when he comes back.