Do your part with full effort.Pray with sincerity.Then leave the outcome to Allah.
That is Tawakkul not giving up, but trusting Allah after trying.
وَمَن يَتَوَكَّلْ عَلَى اللَّهِ فَهُوَ حَسْبُهُ
And whoever puts his trust in Allah — He is sufficient for him.
(Qur’an 65:3)