فَلَمَّا فَصَلَ طَالُوتُ بِٱلْجُنُودِ قَالَ إِنَّ ٱللَّهَ مُبْتَلِيكُم بِنَهَرٍ فَمَن شَرِبَ مِنْهُ فَلَيْسَ مِنِّى وَمَن لَّمْ يَطْعَمْهُ فَإِنَّهُۥ مِنِّىٓ إِلَّا مَنِ ٱغْتَرَفَ غُرْفَةًۢ بِيَدِهِۦ ۚ فَشَرِبُوا۟ مِنْهُ إِلَّا قَلِيلًا مِّنْهُمْ ۚ فَلَمَّا جَاوَزَهُۥ هُوَ وَٱلَّذِينَ ءَامَنُوا۟ مَعَهُۥ قَالُوا۟ لَا طَاقَةَ لَنَا ٱلْيَوْمَ بِجَالُوتَ وَجُنُودِهِۦ ۚ قَالَ ٱلَّذِينَ يَظُنُّونَ أَنَّهُم مُّلَـٰقُوا۟ ٱللَّهِ كَم مِّن فِئَةٍ قَلِيلَةٍ غَلَبَتْ فِئَةً كَثِيرَةًۢ بِإِذْنِ ٱللَّهِ ۗ وَٱللَّهُ مَعَ ٱلصَّـٰبِرِينَ ﴿249﴾ وَلَمَّا بَرَزُوا۟ لِجَالُوتَ وَجُنُودِهِۦ قَالُوا۟ رَبَّنَآ أَفْرِغْ عَلَيْنَا صَبْرًا وَثَبِّتْ أَقْدَامَنَا وَٱنصُرْنَا عَلَى ٱلْقَوْمِ ٱلْكَـٰفِرِينَ ﴿250﴾
249 And when Saul set out with the army, he said: Lo! Allah will try you by (the ordeal of) a river. Whosoever therefore drinketh thereof he is not of me, and whosoever tasteth it not he is of me, save him who taketh (thereof) in the hollow of his hand. But they drank thereof, all save a few of them. And after he had crossed (the river), he and those who believed with him, they said: We have no power this day against Goliath and his hosts. But those who knew that they would meet Allah exclaimed: How many a little company hath overcome a mighty host by Allah's leave! Allah is with the steadfast. 250 And when they went into the field against Goliath and his hosts they said: Our Lord! Bestow on us endurance, make our foothold sure, and give us help against the disbelieving folk.
Al-Baqarah 2:249–250 on Quran.com · Pickthall’s translation
When the believers in Talut’s army went out to face Goliath and his soldiers, they were a small band facing a force that seemed impossible to beat. Some of them had already said, we have no strength today against Goliath and his troops. Those who were sure they would meet Allah answered, how many a small group has overcome a large one by Allah’s permission, and Allah is with the patient (al-Baqarah 2:249). Then, as they went out, they made this dua (al-Baqarah 2:250). Dawud was among them, and Allah loved their words enough to teach them to us.
It begins with Rabbana, our Lord. The word Rabb is usually translated as Lord, but it carries the sense of raising something up step by step until it is complete. Your Rabb is the one who sustains you, nourishes you and brings you to where you need to be. Starting this way is a reminder that everything you are about to ask for comes from Him alone.
Next comes afrigh. Its root is about being empty. Picture a bucket full of water that you tip over until every drop has poured out. So afrigh ‘alayna is not just “give us”. It is “pour it all out on us, as much as You can give”. And what they asked to have poured on them, right before the battle, was sabr.
Sabr is more than patience. Perseverance is closer. The scholars describe three kinds. There is sabr through calamities, the hard times that come to every life. There is sabr in doing good, pushing yourself to keep an act of worship whatever your body or the people around you say, which is exactly what fasting trains. And there is sabr in holding back from sin, like the fasting person alone with food that nobody would see them eat.
Then they asked, make our feet firm. The word here is about thabat, being steady and not slipping. The Prophet ﷺ used the same idea after a burial: he told his companions to ask forgiveness for their brother and ask Allah to make him firm, because he was being questioned at that moment. Firm feet means standing your ground and saying what you know to be true when it matters most.
The scholars of tafsir point out that the dua covers both sides of a person under pressure. Sometimes the heart is strong but the body gives out. Sometimes the body could carry on but the heart is too weak. Poured-out sabr is for the heart, and firm feet are for the body. Last they asked, and help us against the disbelieving people. Help came, and the next verse tells you Dawud killed Goliath (al-Baqarah 2:251).
One note on how to use it. Many scholars say you should not go looking for patience, because patience needs a hardship to be patient through. In easy times, ask Allah for wellbeing. But when difficulty has already arrived, this is your dua: Allah, pour patience on me, give my heart strength, and keep my feet firm so I can do what I need to do. For more on this, read seeking help through patience and prayer.