It's true that we do not have to remember the past because it will only hamper our step better moving forward for a brighter tomorrow.
Yes, we should not dwell on the past because what has been done is already done, we cannot change it anymore. But the mistakes we made in the past will also teach us a lesson. It helps us to do better next time and be more careful with all the decisions we make.