 That's mentioned in Ephesians where Paul says, don't grieve the Spirit. And he talks about anger and backbiting and slander and other things that you can do to actually make the Holy Spirit sad or sorrowful. There's another sin you can commit against the Spirit called quenching the Spirit. The Bible says, quench not the Spirit. What does that mean? That means that you're trying to stop the Spirit from the work He wants to do in your life.