This is why it is so important for us to pray to the Father that we not yield to temptation. Nevertheless, we will always encounter temptation. We must be prepared for it and be ready to deal with it whenever it comes. We should decide ahead of time how we will react when we are tempted, and act accordingly. The enemy will do all that he can to get us to fall prey to temptation, because he knows that if this happens, then he is able to take dominion over us in certain areas of our lives.
Nobody avoids facing temptation.
By the grace of God, we can avoid falling prey to it when it comes, but we cannot avoid being tempted. Even Jesus was tempted. Temptation is the proving ground of life. It demonstrates either that we have certain weaknesses or that God has granted us the strength of character to overcome. In a very real sense, temptation is a test.