The brain forgets most information it encounters the first time around. Repetition and review, in reasonable quantities at reasonably frequent intervals, is important for long-term memory.
Do not just memorize once for a test. If you do, then it’ll only hurt you in the long run.