وَلَوْ أَنَّهُمْ صَبَرُوا۟ حَتَّىٰ تَخْرُجَ إِلَيْهِمْ لَكَانَ خَيْرًا لَّهُمْ ۚ وَٱللَّهُ غَفُورٌ رَّحِيمٌ
Wa law annahum sabaroo hatta takhruja ilaihim lakaana khairal lahum; wallaahu Ghafoorur Raheem
It would have been better for them if they had waited patiently for you to come out to them but God is all forgiving and merciful.
Had they been patient until you came out to them, it would have been better for them. And God is forgiving, merciful.