God knows what is going to happen...he is both omniscient and omnipotent..
Man is neither and thereby must operate under God's rules
for men
'Thou shalt not kill' being one rule
'Whatsoever you do to the least of these you do also unto me' being another rule -God the Son- gave mankind to obey...
hth