Some who call themselves Christians think the key to salvation is to do the right stuff and avoid the wrong and if a person can pull that off, well then, you’re in.
In the Garden of Eden, satan’s temptation was not some simplistic manipulation to get Adam and Eve to break a rule. Breaking a rule was the least of it. What satan was after and what we all struggle with from the moment of conception is outright rebellion to the idea that we are accountable to our Creator.
The motive behind keeping or not keeping of the rule is just a symptom of whether we are or are not in a healed and forgiven relationship with our Creator.
"You who are trying to be saved by doing good works have alienated yourselves from Jesus, you have fallen away from grace." Galatians 5:4