come in handy

中級 (B1) informal

To turn out to be useful.

"That extra charger really came in handy on the trip."