God's plan is for us to have free will. Since God knows the future but we don't, all of our choices are based on free will. God already knows the whole movie but we do not. The movie is based on our choices. God doesn't cause our actions, our free will causes our actions and God knows our choices because he already saw us make those choices before we even make those choices.
For example, I go 1 week into the future and see that you will have a hamburger for lunch on Tuesday. Me knowing that you will have a hamburger does not mean that I have caused you to eat that hamburger. I merely observed your choice.
Where this gets muddled is that people always want to tell you that "God has a plan". Which means that even though people have free will, and all sorts of things get completely messed up due to "demons" and "sin" and all the rest of it, somehow the path toward the end result is supposed to be following some divine script.
Someone posted a treacly bit of a "silver lining" type sermon on facebook the other day, wherein the speaker maintained that anything bad that happens in your life...anything bad
...if only it gets turned over to god will always, without fail, turn into a blessing.
Of course, in his examples, it was only something like losing a job or having a car break down. Which, while they can make life difficult, also DO have an inherent possibility that something better might turn up, which happens quite often. Heck, just over a year ago we were having a big problem trying to buy a house, as two sellers in a row
backed out of signed contracts, leaving us heartbroken. in the lurch, and having to buy whatever seemed the best choice of all the places we had previously discounted as being unappealing to us. And with no prayer involved, it turned out that the house we ended up getting, for many reasons we hadn't really thought through, was, indeed, a perfect choice. Sometimes it works out that way naturally; sometimes it takes a bit of looking on the bright side; but, yes, on the whole, a LOT of things which seemed like disappointments at the time really do work out for the best.
Sometimes, though, they don't. Sometimes, things happen which there simply IS no bright side to. A family's children all being wiped out by a drunk driver? A child bullied to the point of taking their own life? A school full of young children massacred by a gunman or buried by a landslide? Yes, there is generally a way for those left behind to find a way to cope and make the best of a situation by, let's say, starting a foundation or whatnot, but, honestly, how often is whatever the person does actually better
in any way than having the loss never happen? They might be finding a way to fill a void, but not having the void to begin with surely would have been preferable.
Anyway, I'm veering off my point. Which is, IF god has this divine plan, and free will keeps throwing it off, how can anything ever work out the way he wants. Even on a personal level; someone has a setback and gets depressed, and instead of letting Jesus take the wheel, they end up in a downward spiral and end up taking their own lives (sometimes along with a bunch of others for good measure). Obviously, whatever god's plan for that person was, it didn't work out. Yet, for those left behind, they will sometimes find comfort in those platitudes which maintain that it WAS god's plan. So, which is it? Either god's plan includes a whole LOT of people NOT following his plan, and thus giving other people tragedies to make the best of which end up all being "for the best". Or the whole thing is random and chaotic, and outside of real tragedies which there is simply nothing
good about no matter how you slice it, sometimes things work out and sometimes they don't, and trying to look at the bright side is always better than otherwise.
To be fair, you didn't actually mention the divine plan here other than it being free will. So do you believe that, somewhere, in the end, god has a scenario planned out for the finale?