Jesus was tempted in the desert. It’s not so easy to understand how Jesus and temptation can come together but we are told clearly that Jesus was like us in all things except sin.
To me, it seems when we are faced with learning to believe, that Jesus Christ really was a man living in the same world that we inhabit today. He had all the human emotions: affection, love, fear, anger and so on. In use of his mind, his body, his heart he was free as we are free, but when tempted he never chose himself rather than his father’s will.
Like him we are free, but when tempted unlike him we often choose our will rather than God’s and this can lead to sin. But God is with us in our struggles always helping us to overcome them.
St. Augustine says: “it is through temptation that we come to know ourselves. We cannot win our crown unless we overcome and we cannot overcome unless we enter the contest and there is no contest unless we have an enemy and the temptation he brings.”