Praying and relying on God does not mean to stop working with what you have.
A person should pray that God facilitates their matters while also working to achieve their goal and anticipating support from God Almighty.
Whoever anticipates God’s support with a sincere intention and devotion to God Almighty will certainly find divine support and help right there for them.
The two matters go hand in hand: working with what you have—as it’s not right for us to stop doing what we can—and praying and relying on God.
“And whoever fears God – He will make for him a way out. And He will provide for him from where he does not expect. And whoever relies upon God – then He is sufficient for him. Indeed, God will accomplish His purpose. God has already set for everything a [decreed] extent.” Quran, Chapter “The Divorce” 65:2-3.