Check engine light on our 2005 Honda CRV

A P0402 code is for Excessive Exhaust Gas Recirculation, not the catalytic converter. A P0420 is a code for the cat.

If you had a P0402, then you did the right thing. If it comes back, then the DPFE Differential Pressure Sensor is probably the cause, although the EGR valve may be stuck open, something blocking the valve from closing completely.