“No, brahmin, the Buddha did not praise all kinds of meditation, nor did he dispraise all kinds of meditation. And what kind of meditation did he not praise? It’s when someone’s heart is overcome and mired in sensual desire, and they don’t truly understand the escape from sensual desire that has arisen. Hiding sensual desire within, they meditate and concentrate and contemplate and ruminate. Their heart is overcome and mired in ill will … dullness and drowsiness … restlessness and remorse … doubt, and they don’t truly know and see the escape from doubt that has arisen. Hiding doubt within, they meditate and concentrate and contemplate and ruminate. The Buddha didn’t praise this kind of meditation.
And what kind of meditation did he praise? It’s when a mendicant, quite secluded from sensual pleasures, secluded from unskillful qualities, enters and remains in the first absorption, which has the rapture and bliss born of seclusion, while placing the mind and keeping it connected. As the placing of the mind and keeping it connected are stilled, they enter and remain in the second absorption, which has the rapture and bliss born of immersion, with internal clarity and mind at one, without placing the mind and keeping it connected. And with the fading away of rapture, they enter and remain in the third absorption, where they meditate with equanimity, mindful and aware, experiencing for themselves the bliss of which the noble ones declare, ‘Equanimous and mindful, one meditates in bliss.’ With the giving up of pleasure and pain and the disappearance of former happiness and sadness, they enter and remain in the fourth absorption, without pleasure or pain, with pure equanimity and mindfulness. The Buddha praised this kind of meditation.”