It means that Each night is new; previous events do not matter.
The Moon rises every night, and thus it forgets what happened the night before. This proverb sort of describes that, you shouldn't hold a grudge, just like the Moon gets over what happened previously.