1 John 3:4-10 is an encouragement for believers to have complete assurance of their saving faith in Jesus Christ. John doesn't want any believer to be deceived into doubting their salvation. This message is a reminder that a Christian produces righteousness and can have assurance of their salvation when righteousness is evident. If someone habitually lives in sin, then it proves they are not of God.