If god doesn't want people to fail his test why does he plan for people to fail before they even exist?

even if you could blame it on free will why did god want to plan for people to misuse it long before they exist unless he wants people to fail his test?
Update: its a perfectly valid question mr robot/anon
Update 2: "?" difference is your mom can't prevent mistakes god easily can and plans for problems to happen nothing stopping him from just creating people he knows will always do the right thing even with free will
14 answers 14