Of course. Before he created the earth, he knew everything we would do, and where we’d end up
So why does He create innocent victims and evil people?