This is an example of the Oberth effect. The converse is also true - a body does not need to be slowed by much compared to its hyperbolic excess speed (e.g. by atmospheric drag near periapsis) for velocity to fall below escape velocity and so for the body to be captured.