Surah Aal-i-Imraan

3:54

وَمَكَرُوا۟ وَمَكَرَ ٱللَّهُ ۖ وَٱللَّهُ خَيْرُ ٱلْمَٰكِرِينَ

And the disbelievers planned, but Allah planned. And Allah is the best of planners.

Tafsir 3:54

The disbelievers from the Israelites plotted to kill Jesus (peace be upon him), so Allah planned to leave them in their misguidance; and He made another person resemble Jesus (peace be upon him) on the occasion when they actually tried to murder him. Allah is the best plotter, because there can be nothing more severe than His plot against His enemies.