The Bible says let the words of our mouths and the meditations of our hearts be accepted in the sight of God.
That is, we talk about what God is pleased with. Our words should please God. We do not just say what we wish to say. We do not say according to our emotions and instinct. We should talk according to the word of God.
It also says that the meditation of our hearts should be acceptable unto God. We should think about what pleases God. We reflect on the kind of things that pleases God. We should meditate on the Word of God. The only thing that pleases God is the Word of God. Jesus is the Living Word of God. We are to meditate on the Word of God.
The Bible also says that we should not be drunk with wine. That is, we should not be influenced by wine. But it advises that we should be filled with the Holy Spirit. Meditating on the word of God will make us to be influenced by the Word of God.