While it is true that "lesson" is commonly used like that nowadays (and it's helpful that dictionaries explain this), it derives from latin "lection" which means ~reading~, related to "lecture". "Learning" is a germanic word and its meaning is closer to "acquiring knowledge". "Lektion" exists in germanic languages too and both its original and modern meaning is closer to "text being read".
If you're looking for a distinction between learning and lesson, this is the distinction you want.