This Is My Faith - Al-fatlawi, Ali - الصفحة ١١٨ - are in the Hands of Allah’?
There are many other Verses that talk about this matter. Such Verses including this one seemingly express compulsion, but we all know that the Gracious Allah does not force anyone to do good deeds nor bad deeds because God gave us free choice, so it is up to us to be obedient or disobedient.
Anwar: How do we come over this problem?
Hasan: There is no problem here at all; it is our ignorance that makes it seem like it is a problem. In this regard, I have to make clear that there are two types of guidance: a general and a specific guidance. Simply, When the Glorious Allah says: (He guideth whom He will)٢;١٤٢, this is a reference to both general and specific guidance, and when He says: (Allah sendeth whom He will astray)١٣;٢٧, this is a reference to deprivation only from the specific guidance.
Anwar: I need more explanation to be able to understand it all, if you don’t mind.
Hasan: With all pleasure! In fact, general guidance is for all creatures, human and non-human, and it is divided into two parts: