Would it be simile; a figure of speech involving a comparison of thing to another different thing using like, or as...?
Answer:
I think the authors intent for writing the old man and his grandson story is to teach us that
We should treat people the way we want to be treated.
Answer:
connecting complete thought