In real life, the content of university teaching is very rich in knowledge, which can be regarded as a basic knowledge base and can help us understand and solve the life problems around us. In some professional fields, if you can't master what you have learned, you can't be competent. Therefore, forgetting what we have learned will make us lose the opportunity to apply this knowledge in practice.
Finally, the purpose of learning knowledge is not only to get good grades in exams, but to lay a good foundation for one's lifelong learning. Storing what you have learned is both a respect for knowledge and an investment in future development.