I believe Islam has the most elegant reconciliation of free will and determinism in the concept of Qadar and predestination.

Ali (r) narrated that one day the Prophet (s) was sitting with a wooden stick in his hand with which he was scratching the ground. He raised his head and said, “There is none of you, but has his place assigned either in the Fire or in Paradise.” They (the Companions) inquired, “O Allah’s Messenger! Why should we carry on doing good deeds, shall we depend (upon Qadar) and give up work?” The Prophet (s) said: “No, carry on doing good deeds, for everyone will find it easy (to do) such deeds that will lead him towards that for which he has been created”. Then he (s) recited the verse: “As for him who gives (in charity) and keeps his duty to Allah and fears Him, and believes in al-Husna, We will make smooth for him the path of Ease (goodness) (Surah al-Lail 92:5-7) . Sahih Muslim

Modern science has not discovered what the Quran revealed centuries ago. Subhan'Allah