Jesus became our example in righteousness. Though He was sinless for His whole life, His first act after baptism was to reject all the ways of sin. Immediately after being baptized, He was led by the Spirit into the wilderness to be tempted by the devil, and, using the word of God, He refuted the devil’s temptations.
Likewise, the first thing we must do is to reject all the ways of sin, in particular those that lead to the death of our souls.
The Apostle Paul wrote: “Do you not know that the unrighteous will not inherit the kingdom of God? Do not be deceived. Neither fornicators, nor idolaters, nor adulterers, nor homosexuals, nor sodomites, nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners will inherit the kingdom of God. And such were some of you. But you were washed, but you were sanctified, but you were justified in the name of the Lord Jesus Christ, and by the Spirit of our God” (1 Corinthians 6:9-11; Ephesians 5:5).