Should I just replace the engine? on 2002 Honda Accord

2002 Honda Accord EX oil leaked into the radiator causing car to overheat had the head gasket rebuilt twice same problem keeps occurring. Now mechanic recommends replacing the engine.

Asked by for the 2002 Honda Accord
oil in the rad comes from a cracked block, not a head gasket.
yes, i reccomend replacing the engine as well.

Thank you very much for the advice