I think the whole point is free will.
If God made us all love him and obey him without deviation, then it wouldn’t mean much if we were virtuous.
This is a very old discussion...:)
It seems a shame that we have to go through all this pain and suffering, when He could have just designed us differently.