Proverbs 3:1 KJV — My son, forget not my law; but let thine heart keep my commandments:
The way you don’t forget is to let your heart keep God’s commandments.
Heart is your Soul + Spirit.
Which means your (Mind, Will and Emotions) + your Spirit involved in the act of “not forgetting”.
The Lord said that the Holy Spirit will bring things to our remembrance. (John 14:26)
We have an unction from on high and we know all things. (1 John 2:20)
We also have the mind of Christ (1 Cor 2:16)
Memory is a team sport. Stop trying to do it just with your brain.