Consider this:
Mat 6:13 And lead us not into temptation, but deliver us from evil.
And lead us not into temptation,.... Such a petition as this is often to be observed in the prayers of the Jews (a),
אל תביאני, "do not lead me" neither into sin, nor into transgression and iniquity, ולא לידי נסיון, "nor into temptation", or "into the hands of temptation";''
that is, into the power of it, so as to be overcome by it, and sink under it; in which sense the phrase is to be understood here. We are not here taught to pray against temptations at all, or in any sense, for they are sometimes needful and useful; but that they may not have the power over us, and destroy us. There are various sorts of temptations. There are the temptations of God; who may be said to tempt, not by infusing anything that is sinful, or by soliciting to it; but by enjoining things hard and disagreeable to nature, as in the case of Abraham; by afflicting, either in body or estate, of which Job is an instance; by permitting and letting loose the reins to Satan, and a man's own corruptions; by withdrawing his presence, and withholding the communications of his grace; and sometimes by suffering false prophets to arise among his people: his ends in them are on his own account, the display of his power; grace, wisdom, and faithfulness; on account of his Son, that his saints might be like him, and he might have an opportunity of exercising his power and pity: and on his people's account, that they might be humbled; their faith and patience tried; might see their weakness, and need of Christ, and be excited to prayer and watchfulness. There are also the temptations of Satan; which lie in soliciting to evil, suggesting hard and blasphemous thoughts of God, and filling with doubts and fears; which are cunningly formed by him, and are very afflictive. There are moreover the temptations of the world, which arise from poverty and riches, from the men of the world, the lusts of it, and from both its frowns and flatteries: add to all this, that there are temptations arising from a man's own heart. Now, in this petition, the children of God pray, that they may be kept from every occasion and object of sinning; from those sins they are most inclined to; that God would not leave them to Satan, and their own corrupt hearts; nor suffer them to sink under the weight of temptations of any sort; but that, in the issue, they might have a way to escape, and be victorious over all. - John Gill