According to Islam there are two types of knowledge: Beneficial and non-beneficial. Pursue the beneficial (whether worldly or not).