And if they had been patient until you [could] come out to them, it would have been better for them. But Allah is Forgiving and Merciful.
The Saheeh International Quran Translation
وَلَوْ أَنَّهُمْ صَبَرُوا۟ حَتَّىٰ تَخْرُجَ إِلَيْهِمْ لَكَانَ خَيْرًا لَّهُمْ وَٱللَّهُ غَفُورٌ رَّحِيمٌAnd if they had been patient until you [could] come out to them, it would have been better for them. But Allah is Forgiving and Merciful.