Allah’s knowledge is like no other! Allah knows what happened in the past and what is happening now and what will happen n the future.
Allah gave the free will for people to choose and directed them to what is best.
Therefore, no one can blame Allah for not guiding them as they chose that path.