Lalihayer ji, you have posted the Gurbani already. I am repeating only the English in order to restate the relationship between His Hukam and our effort.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/hard-talk/23331-the-destiny-free-will-paradox.html
Whatever pleases the Omnipotent Lord, that alone comes to pass.
This world is an opportunity to earn His pleasure. So: Everything that happens is according to His hukam -- and that includes the world which He created so that we could re-unite with Him. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=23331 Be merciful, and bless me with this gift, He created us, and with His mercy we can be blessed with the gift of union with Him. that Nanak may live, chanting God's Name.We show that we accept this blessing, this opportunity, by making an effort, by chanting His Name.
We have an opportunity to make an effort. Some do not make an effort. Is not the reason for this unhappy choice also explained in Guruji?