Learn and teach
Rasulullah S.A.W said:
تعلم العلم بابا ليعلم الناس اعطى الله ثواب سبعين صاديقا
Learning the science of a chapter to teach humans, will Allah give 70 (seventy) fahala ulama shodiqin.
From this hadith we can take the conclusion that the purpose of science in addition to eliminating ignorant in the self, there must also be a goal of eliminating the ignorant to others.