If I would have said no to that temptation it would not have been a sin. No one will ever know that you cheated. At that point I was being, as James put it, dragged away and enticed. Then, I rode to the finished line, received applause from the crowd, and picked up my prizes and went home. At that point I gave birth to sin.
Temptation is a process.
Temptation starts with a harmless thought or desire that entices us to do something that we are not supposed to do. Next the initial thought is then entertained and explored. We contemplate committing the sin. And then after entertaining the thought, we commit the act of sin to fulfill our cravings and desires. In the early chapters of Genesis, Eve was given the desire to eat the fruit, which God had forbidden her to do.