And thus is it written (I Samuel 24:19) "As stated in the apothegm of the Primal One: 'From the evil shall evil go forth.'" And where is it stated? "And if he did not lie in wait (for him), but G–d put (him) into his hand, etc."
When David Revealed What He Had Done, Saul Acknowledged David's
Mekhilta Tractate Nezikin 4:14