The dictionary definition of 'to learn' is the act of gaining knowledge or skill by studying, from experience, from being taught, etc.
Based on the dictionary definition, when it comes to people who are not good at math, it should be said that they have been educated about math but did not learn it. In other words, it should be said that they have been educated in mathematics but they do not know it.
There should be such a clear judgment as to everything in the world. The fact that you have been taught or experienced about something is one thing, and the fact that you have learned or know it is another.