means that
people with long-established habits may find unfamiliar methods difficult to learn. The saying expresses a stereotype rather than a universal limit on older learners.
The saying “You cannot teach old dogs new tricks” can be used when it is difficult to teach someone something new if that person is old or is used to doing things in a certain way.