لَوِ اجْتَمَعَتْ ... لَمْ يَنْفَعُوكَ إِلَّا بِشَيْءٍ
“Even if they gathered ... they would not benefit you except by what ...”
لَوْ introduces a hypothetical situation; لَمْ negates the imperfect verb; and إِلَّا limits what can occur. يَنْفَعُوكَ means “they benefit you,” and يَضُرُّوكَ means “they harm you.”
ExpressionMeaning
قَدْ كَتَبَهُ اللَّهُ لَكَwhat Allah has written for you
قَدْ كَتَبَهُ اللَّهُ عَلَيْكَwhat Allah has decreed concerning you
رُفِعَتِ الْأَقْلَامُthe pens were lifted
جَفَّتِ الصُّحُفُthe pages dried