Ali 'Imran 3:54
And they [i.e., the disbelievers] planned, but Allāh planned. And Allāh is the best of planners.
Ayah 54
وَمَكَرُوا۟ وَمَكَرَ ٱللَّهُ ۖ وَٱللَّهُ خَيْرُ ٱلْمَٰكِرِينَ
And they [i.e., the disbelievers] planned, but Allāh planned. And Allāh is the best of planners.