My condolences to you about your friend.
But that quote in 1 Peter about a righteous man "scarcely being saved" is a passage about earthly persecution, and not about eternal salvation. Peter is making the point that those who obey not the gospel (1 Peter 4:17) are even more doomed to a worse end than us, even though we suffer more than they in this present world. A person obeys the gospel from the heart (Romans 6:17) and is the only way of knowing God (2 Thessalonians 1:8); we know God through faith in the Lord Jesus Christ, forsaking our trust in our own righteousness, and going about to submit to the righteousness of God through faith (Philippians 3:9-10, Romans 10:3-4).
You are saying that we must be "worthy" to inherit eternal life, or be "worthy" to continue believing in Jesus, but let me tell you friend that none of us are good enough to inherit eternal life, because all of us have sinned and fallen short of God's glory (Romans 3:23); this is the whole point of us needing a perfect and righteous Saviour. If we could be worthy on our own accord, then we wouldn't need Jesus.
Also, belief doesn't fall into a condition of "worthiness," seeing as Paul the Apostle separates the ideas of faith and work (Romans 4:4-5); faith is that which is a trust toward an outside source as a reliance upon another and not self, but work is that which is a determined trust and faith in one's own ability and capability. None of us are able to save ourselves, neither are we even capable of being worthy. We trust Christ as our outside source and rely upon him so that we don't have to rely upon ourselves.
I say all that to clear up the statements made in the OP about salvation and eternal life. Regarding sin in one's life: we should forsake it as much as possible, absolutely. Not only because God tells us to, but when regenerated, God says explicitly that he placed his laws in our hearts so that our conscience is renewed. We know when we sin, so when a Christian sins, they're sinning against greater knowledge, which brings me full circle back to the passage in 1 Peter 4 in which Peter makes the point that judgement begins at the house of God. The Christian knows better than the heathen as to what sin is and why it is to be repented of; therefore, judgement must come first to the house of God. Not judgement as in eternal damnation though, because God will never leave us or forsake us once we're saved (Hebrews 13:5, John 10:28, John 5:24, John 6:47, John 3:16, Romans 8:38-39, etc), but rather judgement in this life and punishment accordingly. God chastises us, because we shall not be condemned with the world since we are saved by Christ (1 Corinthians 11:32), and also to yield the peaceable fruits of righteousness unto God (Hebrews 12:11) so that both he may be pleased, and the world may see our light shining forth and they too will glorify God (Matthew 5:13-16).