Purifying the soul, acting upon knowledge, and fearing Allah have a tremendous effect on obtaining knowledge.