The New Covenant teaches victory over sin, BUT the mechanism for victory is not legalism, self control, ritual or law.
It is death to sin, through crucifixion and resurrection by the Spirit
21 Therefore lay aside all filthiness and overflow of wickedness, and receive with meekness the implanted word, which is able to save your souls. 22 But be doers of the word, and not hearers only, deceiving yourselves. 23 For if anyone is a hearer of the word and not a doer, he is like a man observing his natural face in a mirror; 24 for he observes himself, goes away, and immediately forgets what kind of man he was.25 But he who looks into the perfect law of liberty and continues in it, and is not a forgetful hearer but a doer of the work, this one will be blessed in what he does. 26 If anyone among you thinks he is religious, and does not bridle his tongue but deceives his own heart, this one’s religion is useless.
James 1:21-26
The mechanism is by the working of the Cross & the Holy Spirit.
1 There is therefore now no condemnation to those who are in Christ Jesus, who do not walk according to the flesh, but according to the Spirit. 2 For the law of the Spirit of life in Christ Jesus has made me free from the law of sin and death. 3 For what the law could not do in that it was weak through the flesh, God did by sending His own Son in the likeness of sinful flesh, on account of sin: He condemned sin in the flesh, 4 that the righteous requirement of the law might be fulfilled in us who do not walk according to the flesh but according to the Spirit.
Romans 8:1-4
We are free