Mahavir’s teachings became a medium to go from despair to hope