If Obito didn't want people alive so he could put them into his eternal tsukuyomi, he could easily kill everyone around him in probably a few minutes.
But he doesn't want to kill them; he wants eternal peace by placing them under a genjutsu.
But he doesn't want to kill them; he wants eternal peace by placing them under a genjutsu.