Mahmud gaznavi was afghan thats why he is calling him a mere looter.
that was due to repeated attacks from west which kept hindus in control otherwise weak muslims of india would have been perished.
attacks of ghaznavis, ghauris, durranis used to keep moral of indian muslims high.