Is it necessary to attain moksha?