Acquiring psychic powers with suprahuman abilities through cultivating deep samadhi/concentration could be used as a good tool to see the truth and to attain liberation. In fact, it is partly through the use of psychic powers (recollection of past lives and passing and arising of beings in the endless cycle of rebirths) that the Buddha attained enlightenment under the Bodhi tree. In ancient scriptures, the ancient Buddha actually encourages his disciples to cultivate psychic powers to aid with their liberation; he however prohibits the psychic powers to be performed for self-aggrandizement or to gain fame and more material supports.