The caste system was unjust. 
Egalitarian and agnostic, Nehru passed laws against the injustice of the caste system, child-marriage, and the treatment of women in Hindu households, but century-old customs die  before his death in 1964, he asked that his ashes be scattered in the Yamuna river at Delhi and the Ganga at Allahabad, and without ritual.