This is true if they're talking about becoming a Christian.
We become Christians based on our committed belief *in Christ. Good things we've done don't help our salvation and bad things we've done don't hinder it.
BUT... and this is an all caps BUT, there's a huge difference between becoming a Christian and being a Christian.
If we're truly saved, our beliefs will begin changing our actions, our speech, our thoughts and our goals (Titus 2:11-14).
- We aren't saved by works, but we're saved for works (Ephesians 2:10).
- We aren't saved by obeying God, but we're saved so we'll obey Him:
When we talk about salvation, let's make sure we clarify this important truth.
* We can believe in Jesus without committing our lives to Him, but that is "useless" faith. Demons believe in Jesus, but they do not serve Him. James 2:18-20