Exactly. I think the OP may be saying if people are listening to the teachers mentioned (Jude 4), and are living in sin, they are not Gods elect. Makes sense to me anyway.
You may find a few things that look an awful lot like commandments among the scripture below, but either way, they should make clear there are sins that lead to damnation for those who have eyes to see. Also meaning, that goes along with what I said about some thinking they are the "elect" but may not be. As in the first scripture of his post, some are teaching sin is fine because God is gracious, but take a look at that scripture and see what the bible says about that attitude.
And what was that you said about the NEW Testament?...
Take a look at what books the following comes from:
1 Cor 6:9-10 Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor homosexual offenders, nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God. And that is what some of you were.
Gal 5:19-21 The acts of the flesh are obvious: sexual immorality, impurity and debauchery; idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who live like this will not inherit the kingdom of God.
Eph 5:3-6 But among you there must not be even a hint of sexual immorality, or of any kind of impurity, or of greed, because these are improper for God’s holy people. Nor should there be obscenity, foolish talk or coarse joking, which are out of place, but rather thanksgiving. For of this you can be sure: No sexually immoral, impure or greedy person—such a person is an idolater—has any inheritance in the kingdom of Christ and of God. Let no one deceive you with empty words, for because of such things God’s wrath comes on those who are disobedient. Therefore do not be partners with them.
Rev. 22:12-16 “Look, I am coming soon! My reward is with me, and I will give to each person according to what they have done. I am the Alpha and the Omega, the First and the Last, the Beginning and the End. “Blessed are those who wash their robes, that they may have the right to the tree of life and may go through the gates into the city. Outside are the dogs, those who practice magic arts, the sexually immoral, the murderers, the idolaters and everyone who loves and practices falsehood. “I, Jesus, have sent my angel to give you this testimony for the churches. I am the Root and the Offspring of David, and the bright Morning Star.”