إِنَّا مَكَّنَّا لَهُۥ فِى ٱلْأَرْضِ وَءَاتَيْنَـٰهُ مِن كُلِّ شَىْءٍ سَبَبًا ﴿84﴾ فَأَتْبَعَ سَبَبًا ﴿85﴾
84 Lo! We made him strong in the land and gave him unto every thing a road. 85 And he followed a road
Al-Kahf 18:84–85 on Quran.com · Pickthall’s translation
Allah introduces Dhul Qarnayn with two short verses. We established him in the land, and gave him a means to everything (al-Kahf 18:84). So he followed a means (al-Kahf 18:85). Being established in the land meant power and authority that people respected wherever he went. It also meant great riches of this world. But the key word in these verses is sabab, translated here as a means. Once you understand it, these two verses say a lot about how provision works in your own life.
A sabab is a means to an end: something you use to get from where you are to where you want to be. A car is a sabab, because it gets you from one place to another. Your job is a sabab too. Your provision, your rizq, comes from Allah. But to reach it, you go out and work. The job is not the source. It is the road the provision travels along.
Then comes the second verse: he followed a means. Dhul Qarnayn did not sit on what Allah had given him. He took the resources Allah gave him and used them wisely, investing them to build more. That is what made him a smart ruler. The means are in your hands to use well, and the provision itself still comes from Allah.
Why does Allah give some people so much of this world, and others so little? There are two sides to it. Sometimes Allah gives wealth as a test, to see what a person does with it. Or He gives it because He knows it will not lead that person away from Him. Sometimes He withholds it because He knows that, in that person’s case, wealth would lead them astray. Or the withholding is itself the test, of how loyal and devoted they stay.
There is an Urdu saying that puts it simply: sometimes Allah gives to test you, and sometimes He takes to test you. Both are tests. Neither one is a verdict on your worth. If you have been given a lot, the question is what you are doing with it. If you have been given little, the question is whether you stay close to Allah anyway. For help with that second test, the duas for difficult emotions are a good place to start.
Dhul Qarnayn never forgot where his means came from. When a people offered to pay him, he said what my Lord has given me is better (al-Kahf 18:95). When his great barrier was finished, he said this is a mercy from my Lord (al-Kahf 18:98). That is the balance these verses teach. Take the means seriously: work, plan, invest, build. But give the credit to the One who gave you every means you have. You can follow the rest of his story on the Surah al-Kahf mind map.