[Solomon] himself describes how God has sent subtle temptations to the sons of men, so that they might be distracted by vain things (Ecclesiastes 1:13) and thus prevented from turning towards what is even worse. All this is clear from the very nature of things. For if, when there are thousands of distractions, some still find opportunity to commit sins, how much more would this be the case if our lives were without distractions?
In such circumstances, it is better for us to be superficially distracted, and so prevented from devoting ourselves to holy things and holy thoughts, rather than for us to do many other things which are in fact worse.
~St Peter of Damaskos