The religions what we see in today's world, be it any religion, all are the distorted versions of the true religion. Even in Hinduism, this caste system was introduced by human intervention, which they justify but it doesn't matter.
Buddha discarded all the teachings of Vedas because He knew it...