“But keep away from youthful passions, and pursue righteousness, faithfulness, love, and peace, in company with others who call on the Lord from a pure heart.”
2 Timothy 2.22
In order to refrain from untoward desires, Timothy must “give positive attention” (Phillips) to the virtues of Christ. This is done together with the saints.
Sin may be avoided and righteousness obtained as a part of God’s worshiping family. Seek every opportunity to be with Christ’s disciples.