Either your God is an idiot, and could not think of any way to abolish slavery other than killing babies (a rather odd way, if you think about it) or your God could think of some other approach, as you and I can, but for some reason could not effect it.