Chazal tell us that Korach was a great person, and are surprised he succumbed to this Nisayon. They also tell us that some of our other famous great ancestors were involved in this movement. Some ideas about how the Yetzer Hara can pose a risk to even the greatest of people, and how to judge such situations.
Have a good Shabbos.