If Ye Believe on His Name Ye Will Repent of All Your Sins

Samuel, a Lamanite prophet, teaches that true belief in Jesus Christ leads one to change his or her life comprehensively. All sins are unacceptable for the person who does not take for granted the escape Christ has prepared. Those who truly believe in the power of Christ’s Atonement do not take the opportunity to repent lightly.

“…Whosoever shall believe on the Son of God, the same shall have everlasting life…And if ye believe on his name ye will repent of all your sins, that thereby ye may have a remission of them through his merits.” (Helaman 14:8,13)

Questions:

-How does James 2:17 relate to the above verses?