Giving into temptation is what is meant by "occasion" (opportunity) to sin. No excuses for willful sinning except temporary immaturity!
Its best to be honest and not try to pretend that when you commit a work of the flesh, you didnt mean to do it.
So, "Use not your Liberty in Christ" to do that...
James says that faith can be dead, so, Lets just believe him and not agree with your opinion.
James, explains that dead faith, is not dead Salvation, ... but its really just a state of becoming Cold to the things of God.
Jesus refers to this as "lukewarm"..
This is the Christian who does not think about the things of God, until Sunday morning, and after church is over, that's the last time they think about it, till next Sunday.
Lots of "Sunday Saints" in the body of Christ.