Again, all atheists have the exact same argument. If god is omnicient then why does he create us, he already knows if we are going to heaven or hell. so what is the point of living?
Well, by your logic, god will simply create random humans and instantly send them to either heaven or hell. Thus, we will have no famillies, no memories, no experiences, no fammiliarization with our own being; no love for god, no happiness; nothing. We will merely be things in the form of humans facing either
punishment in hell or eternal life in heaven. Life is not only about going to heaven or hell. It's a lot more than that. Perhaps it's not so that god can learn about us but for us to learn about god. We need life to learn about ourselves, develop, understand, love and hate etc..
Yes, he can destroy the sin in man, but sin has become part of man. If he is to destroy sin, then he is to destroy man as well.