Temptation is like that, and we would do well to learn from this farmers wisdom. The best way to avoid being "kicked" by sin is to not be there. That is what David did when Saul tried to kill him. "And Saul cast the javelin; for he said, I will smite David even to the wall with it. And David avoided out of his presence twice" (1 Sam. 18:11).
So it is with us. One of the best ways to avoid harm, trouble, or even sin is to get out of the way!