 Besides being learned in astronomy and in the metaphysical science of rabbinic astrology, as well as in Jewish classical literature which he taught to his young students.Rabbi Qafih was raised by his grandfather, after being orphaned of his father and mother at around the age of six.As a child, he studied Torah under the great Rabbi, R. Ḥayim Qoraḥ, his deceased mother's nephew.