There is no such thing as infinite. Unless other characteristics or unsuited materials are in play, hardened materials will resist wear better than those not hardened.
Lubrication to avoid or reduce wear is usually required. Even ball or roller bearings require some lubrication.
Hydrostatic, hydrodynamic or gas (air, nitrogen etc.) bearings greatly reduce wear by suspending the surfaces with a thin fluid.
The length of the moving member and the length of stroke may determine the type of rolling bearing if that is the bearing of choice.
The view or the description do not provide sufficient information.