Is it better to repaint cabinets or replace them entirely?

Is it better to repaint cabinets or replace them entirely?

I think it’s better to repaint cabinets

I have to come back to this