Jesus was saying in Matthew 6:7 that we must not regard prayer as some kind of magical incantation, for that is how pagans pray. They recite certain phrases over and over again, with no understanding of what the words mean. In these contexts, prayers are used as mantras, with the hope that they will change the environment or the circumstances in which a person lives. New Age thinking is filled with this type of thing. Jesus did not commend such exercises as godly forms of prayer; rather, He linked the use of vain repetitions to paganism.
“And when you pray, do not use vain repetitions as the heathen do. For they think that they will be heard for their many words.” (Matthew 6:7)
Christians can easily fall into a pattern of praying in a repetitious fashion, without engaging their minds. It bothers me sometimes when Christians gather for a meal and the host will say to someone there, “John, will you please say the grace for us?” The host doesn’t ask for someone to lead in prayer but to say the grace. That kind of language suggests a mere recitation, not a prayer that comes from the heart.
We can even treat the Lord’s Prayer this way. The Lord’s Prayer is an integral part of the worship of multitudes of Christians. Worship services often include the recitation of the Lord’s Prayer. The use of the Lord’s Prayer has a rich history in the church, and whenever we pray it or hear it, we are reminded of those priorities that Jesus sets before us as objects for prayer. Don’t get me wrong—I’m not opposed to the recitation of the Lord’s Prayer. However, there is a danger that this use of the prayer may be nothing more than a recitation. The praying of the Lord’s Prayer can become as mindless and as vain a repetition as the magical incantations and mantras that pagans use.