Elimination of inflowing thoughts…
It is not just by means of morality and religious observances, not by great learning nor by attainments in meditation, nor by living alone, nor by thinking,"I am enjoying a spiritual happiness which ordinary people do not know" that a bhikkhu* achieves peace if he has not achieved the elimination of inflowing thoughts.
~ Dhammapada – Sayings of the Buddha 1 (tr. J. Richards)
I imagine those “inflowing thoughts” to be the temptations and desires of this world. The Baha’is are instructed to resist the desires of materialism and placing the accumulation of things above service to others and to God. But, in this Buddhist text we see that no matter what else we do in our efforts to become closer to God, such as adherence to observances, prayer and meditation will mean nothing if we cannot eliminate the inflowing thoughts.
* Bhikku is the term for an adult Buddhist monk.