CCC 2847 The Holy Spirit makes us discern between trials, which are necessary for the growth of the inner man,1 and temptation, which leads to sin and death.2 We must also discern between being tempted and consenting to temptation. Finally, discernment unmasks the lie of temptation, whose object appears to be good, a “delight to the eyes” and desirable,3 when in reality its fruit is death.
God does not want to impose the good, but wants free beings. .. There is a certain usefulness to temptation. No one but God knows what our soul has received from him, not even we ourselves. But temptation reveals it in order to teach us to know ourselves, and in this way we discover our evil inclinations and are obliged to give thanks for the goods that temptation has revealed to us.4
1 Cf. Lk. 8:13-15; Acts 14:22; Rom 5:3-5; 2 Tim 3:12.
2 Cf. Jas 1:14-15.
3 Cf. Gen 3:6.
4 Origen, De orat. 29 PG 11, 544CD.