Whatever a person learned in this world but was unable to grasp fully the true meaning of what he learned, he will merit to understand in its truth in Olam Haba.
Sefer HaMidos, Torah Study, Part I §8