مَنْ لَمْ يَسْأَلِ اللَّهَ يَغْضَبْ عَلَيْهِ
Whoever does not ask Allah incurs His displeasure. (Jāmiʿ al-Tirmidhī, Book of Supplications)
Presenting one's needs to Allah expresses servanthood. Asking Him acknowledges that He is the Giver and that the servant depends upon His generosity.
Along with supplication, one adopts lawful and appropriate means. Neither treating causes as independently effective nor regarding prayer as pointless is correct.