Prayer presupposes faith. No prayer is in vain. Prayer is like any other action.