Both are true.
The two verses I quoted are clear. You can not perform an action unless it's willed by God.
You can not decide to be guided.
You have a project, you want to succeed. It is God who decides the final result: the success or failure of your project.
The circumstances of life do not unfold as one wishes, it is the will of God. When misfortune strikes, it is also the will of God.
5:15 O people of the Book, Our messenger has come to you to clarify for you much of what you were hiding from the Book, and to pardon over much. A light has come to you from God and a clarifying Book.
5:16 God guides with it whoever follows His acceptance, to the ways of peace; and it brings them out of the darkness and into the light with His permission; and it guides them to a straight path.