The worth of every person is according to the extent of his knowledge.Ghurar-ul-Hikam, p. 341I think its religious knowledge, but I have also read that it is the Marifah of Allah??

Yes it is related to religious knowledge and marefat