Madara had known all along that Obito would never hold true to his ideal peace. The Moon Eye Plan was plan B but Obito wouldn't hear of it wanting Rin back so bad. So he needed someone that will hold onto his ideal peace. Sure it was ruling the world but the world would be safer then. Some would resist as some always do. However Madara found the one person he knew would hold true