Placebo effect:
http://www.skepdic.com/placebo.html
A positive outlook, whether rational or not, can sometimes be beneficial.
Other people praying for a patient has no effect.
The question of whether irrational, beneficial beliefs should be encouraged could be an interesting one, but such beliefs are still irrational and seldom purely beneficial.