His heir , Humayun , preferred opium and astrology to complex State affairs ; he was driven out of India into Persia by General Sher Shah , who proved to be a much more able ruler .
India benefited from the steady hand of General Sher Shah who was more adept at ruling than his predecessor .