Romans 10:17-18
17 So then faith cometh by hearing, and hearing by the word of God.
18 But I say, Have they not heard? Yes verily, their sound went into all the earth, and their words unto the ends of the world.
When you stand in front of a congregation and it looks like no one is paying attention, it is disheartening. It is the same thing as when you are speaking to someone about your salvation through Christ. You could just throw in the towel and give up. They are not listening. It must not be what God wanted you to do because they act like they are ignoring you, right? That is exactly what the world wants you to do. The enemy wants you to be discouraged and shut up. If God has sent you to speak about his word to someone, whether it be a congregation or a friend, do it. If they act like they are not listening, keep doing what God has sent you to do. When I was a child listening to my fathers preaching, I would act like I wasn’t listening, but I can still tell you the messages he preached. That is because I still heard it. So, keep speaking, preaching, and teaching because one day they will remember what you said.