Al-Hujuraat • EN-AL-JALALAYN
﴿ وَلَوْ أَنَّهُمْ صَبَرُوا۟ حَتَّىٰ تَخْرُجَ إِلَيْهِمْ لَكَانَ خَيْرًۭا لَّهُمْ ۚ وَٱللَّهُ غَفُورٌۭ رَّحِيمٌۭ ﴾
“for, if they had the patience [to wait] until thou come forth to them [of thine own accord], it would be for their own good. Still, God is much forgiving, a dispenser of grace.”
And had they been patient annahum ‘they’ has independent status on account of inceptiveness; alternatively it is said to govern an implied verb such as thabata ‘had their patience been maintained’ until you came out to them it would have been better for them; and God is Forgiving Merciful to those of them who repent.