Hinduism reinforced a strict social hierarchy called a caste system that made it nearly impossible for people to move outside of their social station. Emperors during the Gupta empire used Hinduism as a unifying religion and focused on Hinduism as a means for personal salvation.
In the belife system, you were born into your caste and according to the religon by folling the rules and listiging your higher castes when you were re-born you would be re-born into a higher caste. The caste system was actually in turn a way to control people in the religion.