A great person may learn from a wicked one, but a small person may not.
Sefer HaMidos, Torah Study, Part I §32