Goldfish in real life have actually quite good memories and are very intelligent, as they are capable of problem-solving, spatial awareness, and object (and face) recognition among other cognitive abilities. The fact that they're known as being stupid and easily forgetful is a widespread myth!
I knew it I am really a gold fish from my past life ^•^