Why make Dua when everything is pre written??

Re: Why make Dua when everything is pre written??

but isn’t it the way that Allah already knows that we are going to do the zidd and he is going to fulfill it and then we’d be in trouble?

Really, I can never bring myself to understand predestination v/s free-will stuff.

If Allah already knows whatever is going to happen and nothing can change that knowledge, then everything that is going to happen will never change no matter what we do. So, some of us are destined for heaven and some would end up in hell and we cannot change it, even dua.