Unfortunately, learning by rote is the only way to teach things we have no desire to learn in order to grade humans for further education and slot them into work/society. However, since Google and now ChatGPT exist, the ability to regurgitate facts is increasingly obsolete.