The cure for ignorance is inquiry.
Indeed, Allah will not change the condition of a people until they change what is in themselves (13:11)
Whoever follows a path in pursuit of knowledge, Allah will make easy for him a path to paradise.
Sunan Ibn Majah Vol. 1, Book 1, Hadith 225
Ask Allah for beneficial knowledge and seek refuge with Allah from knowledge that is of no benefit.
Sunan Ibn Majah Vol. 5, Book 34, Hadith 3843
Whoever seeks knowledge in order to argue with the foolish, or to show off before the scholars, or to attract people’s attention, will be in Hell.
Sunan Ibn Majah Vol. 1, Book 1, Hadith 260