At-Tawbah 9:48
لَقَدِ ٱبْتَغَوُا۟ ٱلْفِتْنَةَ مِن قَبْلُ وَقَلَّبُوا۟ لَكَ ٱلْأُمُورَ حَتَّىٰ جَآءَ ٱلْحَقُّ وَظَهَرَ أَمْرُ ٱللَّهِ وَهُمْ كَـٰرِهُونَ
Laqadi ibtaghawoo alfitnata min qabluwaqallaboo laka al-omoora hatta jaa alhaqquwathahara amru Allahi wahum karihoon
They had already desired dissension before and had upset matters for you until the truth came and the ordinance [i.e., victory] of Allāh appeared, while they were averse.
They sought mischief even earlier and tried to upset matters for you, until the Truth arrived and the will of Allah prevailed, though they disliked it.