PLEASE HELP ME ANSWER THIS I ONLY HAVE 3 MIN LEFT, LET ME KNOW IF THIS IS THE RIGHT ANSWER. if you have a subscription to this app please look it up for me

Answer:
To take advantage of the area's wealth.
Explanation:
Mahmud of Ghazni had already started his attacks and invasions on Indian lands when the power of the Rajput had declined.
He attacked Southern India to take control of the vast wealth there and the secondary reason he invaded was to spread Islam.