The phrase “Is what your grandmother teaches you” is not a direct quote from any specific Morgan Freeman film.
It may be misremembered or a common saying not directly attributed to a film. Provide more context about where you heard it for potential identification.