High levels of cortisol can cause problems with healing injuries/tissue damage/reducing infection or preventing cancer. Cortisol is a stress hormone. You do not get high levels of Cortisol if you are happy and relaxed... so there is clearly a benefit here from the placebo effect and it is more than 'mind over matter'. Whether the pill itself does anything is irrelevent - the effect is entirely mediated from within.