"Your sister was hitting the ball this far at your age" is almost always said with good intentions: as motivation, as a frame of reference, sometimes even as genuine pride in both children. It rarely lands that way.
What a child usually hears in a sibling comparison isn't motivation: it's a ranking, and one where they've just been placed second. This is true even when the comparison is factually accurate and even when it wasn't meant unkindly.
Every child develops on a different timeline, in a different order, with different strengths surfacing at different ages. A comparison collapses all of that individual variation into a single number or milestone, which almost never captures what's actually happening in either child's development.
A more useful comparison is a child against their own past self: "you couldn't do that six months ago, and now you can." That framing keeps the motivation intact without introducing a rivalry that neither child asked for.