Predestination And The Concept Of Freewill (Quran 14:4 & Quran 87:2)
God created the world, along with its laws and principles, and then granted humans the freedom to make their own choices. While nothing occurs without His permission, this doesn’t mean everything is directly ordained by Him. He allows people the option to disobey or commit wrong, and this happens with His consent. The verse you referenced pertains to creation and its physical laws, not the concept of free will.