caste in Hindu Dharma is more to do with ones nature and his motivations in this life than a badge of honour or competition with belief of anyone else. Caste is not based on rituals one performs but reasons behind those rituals.
Why do populations for generations remain in the same class, irrespective of better lifestyles? Answer is quite simply in the manifestos of the 2 major Indian political parties this 2019 election season.