But someone will say, “You have faith; I have deeds.” Show me your faith without deeds, and I will show you my faith by my deeds. You believe that there is one God. Good! Even the demons believe that—and shudder. You foolish person, do you want evidence that faith without deeds is useless ? Was not our father Abraham considered righteous for what he did when he offered his son Isaac on the altar? You see that his faith and his actions were working together, and his faith was made complete by what he did.
James 2:18-22 NIV
Many well-meaning people believe and teach that if simply recites the words of a particular prayer, then they will be saved– regardless of what happens in that person’s heart while saying those words– or the outcome of their after that prayer is offered. James made it clear that if a person’s faith produces no change in that person’s heart or actions, such a faith is little more than a cognitive exercise.