Although what the Yin Yang Sect Master said now is not entirely without cost, since there is a way to obtain cultivation techniques and explanations, then this path is not completely blocked, and the future is promising.
When Jia Yan said this, it was actually to dispel the idea of these semi-permanent star beings leaving the Yin Yang Sect. If they can't become disciples, leaving this place and starting anew elsewhere isn't completely bad. With some opportunities, they might even make better progress in other places.
But Jia Yan still needed the contributions of these semi-permanent stars for now, so he had to use words to keep them here. Besides, he wasn't lying about helping them with their questions in the future.
As for them wanting to leave after gaining progress in cultivation?
