Man is driven in some things and he has a freedom of choice in others. We are not given a choice of being born nor dying, and we cannot choose who our fathers, mothers and relatives are, so in those matters our life is predestined.
However, we have a free will to choose to pray or not to pray, and to believe or disbelieve. Well, if Allah wants us all to believe, He has the ability to do so, but Allah has created man’s reason and let him choose and be held accountable afterwards, and this is what the following Ayah means: (But you cannot will ˹to do so˺, except by the Will of Allah, the Lord of all worlds.) At-Takwir 81:29
(No calamity ˹or blessing˺ occurs on earth or in yourselves without being ˹written˺ in a Record before We bring it into being. This is certainly easy for Allah.) Al-Hadid 57: 22
(Whatever affliction befalls you is because of what your own hands have committed. And He pardons much.) Ash-Shura 42:30
إن الإنسان مسير في أشياء ومخير في أشياء أخرى، فنحن مجبرون على الولادة والموت، مجبرون غير مختارين فيمن هم اباؤنا وامهاتنا واقاربنا
بينما نحن مخيرين في أن نصلي او لا نصلي، نؤمن اونكفر ، ولو أراد الله أن نؤمن جميعا فله القدرة على ذلك، ولكن الله خلق للإنسان العقل وتركه يختار ويحاسب بعد ذلك ، وهذا هو معنى قوله تعالى : ( وما تشاءون إلا أن يشاء الله رب العالمين) التكوير81 :29.
(وقال الله تعالى : (مَا أَصَابَ مِنْ مُصِيبَةٍ فِي الْأَرْضِ وَلَا فِي أَنْفُسِكُمْ إِلَّا فِي كِتَابٍ مِنْ قَبْلِ أَنْ نَبْرَأَهَا إِنَّ ذَلِكَ عَلَى اللَّهِ يَسِير
الحديد 57: 22
(وَمَا أَصَابَكُم مِّن مُّصِيبَةٍ فَبِمَا كَسَبَتْ أَيْدِيكُمْ وَيَعْفُو عَن كَثِيرٍ )
الشورى 42 :30