No doubt that in the history of yoga, there are many Hinduism influenced sources, stories, sages and teachings, and many past and present Gurus came with Hinduism background and they practice(d) Hinduism, but, upon the realization of selflessness, one’s liberation has nothing to do with Hinduism or non-Hinduism, spirituality or non-spirituality, religious beings or non-religious beings, good beings or bad beings, good karma or bad karma.
One might think that “Since I have done many good actions accumulating lots of good karma, I will be free from suffering.” But, it’s not necessarily so. One might still experience suffering even after performing many good actions accumulating lots of good karma, as long as the mind is not free from ignorance, egoism, attachment, identification, craving and aversion, and be over-powered by impurities like anger, hatred, jealousy, greed, dissatisfaction, disappointment, animosity, ill-will, feelings of hurt, fear and worry.
Yoga is the annihilation of the mind and its modification, transcending all the names and forms, it doesn’t matter what types of qualities of names and forms that keep arising and passing away, influencing the impermanent existence, condition and function of the body and the mind.
Suffering and the end of suffering (liberation) is all in the mind, it is not in a particular name and form that the mind perceives through the senses.
When we think we are not peaceful or are suffering, ask ourselves, why we are not peaceful or are suffering.
One starts practicing yoga when one starts to be aware of what is going on in the mind, and the mind takes full responsibility for all the actions and reactions of the mind towards all the names and forms that the mind perceives through the senses.
Suffering and the end of suffering (liberation) doesn’t discriminate towards all the different qualities of names and forms which the mind thinks that is who and what it is.
It is due to ignorance, egoism, attachment, identification, craving and aversion towards all the impermanent qualities of names and forms, that generate suffering in the mind.
It is knowing the truth, egolessness, non-attachment, non-identification, non-craving and non-aversion towards all the impermanent qualities of names and forms, that free the mind from suffering.
Suffering and liberation is nothing to do with different types of religion, spirituality, culture, education, society, tribe, race, gender, sexual orientation, worldly success and achievements, physical condition and abilities, and etc.