"For as the body without the spirit is dead, so faith without works is dead also." James 2:26
We are not saved by our works but by simply God's grace, by faith in the finished work of Christ at the Cross. Yet, this scripture in James points to how true faith in Christ will produce good works, not to save us- but because the Spirit is at work in us working out our holiness and glorifying the One who already saved us. We are justified by God's work, as sanctification is worked out in our lives will see the fruit of the Spirit produced.
"But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, self-control; against such things there is no law." Galatians 5:22-23
Though you may not have lived a perfect life, do you see any of the fruits listed in Galatians produced in your own life? Are you working out your salvation with fear and trembling putting to death sin daily as you trust and rely on the Lord for strength?
As we enjoy God and rejoice in the salvation He freely gave us (not based on our actions), our desire should be to please the Lord and reflect His love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, and self-control. Looking back on a journal entry from years back, I'm not sure who I heard this from but I jotted down these notes: "Following Jesus is not about being perfect, its about accepting that we are weak and becoming more dependent on His perfect love and power at work in us."