Online sources cite it as an African proverb. Made popular by the Star Wars Andor series. The meaning here is that a person who is hurt remembers but the person who hurts another may not.