Those who believe prayer will help them and know they are being prayed for may indeed get better, thanks to the placebo effect. The same could be said of giving pets to the elderly who like animals.
"Religion," Rand noted, "is the first enemy of the ability to think. ...yet before they learn to think [men] are discouraged by being ordered to take things on faith. Faith is the worst curse of mankind."