When you live for the Lord, you represent His Word and try to guide people in the way of righteousness. Invariably, people will resist the way of righteousness and slander you for it. Often you will not know how many people hear and believe the slander or the extent of what is said. What we do know is that the Lord knows and that He will deliver you.
David faced this situation many times in his life. The way he handled slander was to trust the Lord to validate him in his righteousness (Psalm 7). David laid out his situation before the Lord in prayer and trusted his God to deliver him. When you pray, casting your burden on the Lord, He gives you peace, joy, and comfort in return. He also sees you through by giving you His grace—“My grace is sufficient for thee” (II Cor. 12:9). The Lord strengthens, encourages, and reassures you.
Not only did David pray, he also relied on the Word of God to affirm the rightness of his actions. When you have done what the Bible says and someone accuses you of doing wrong, let God’s Word test your actions. Let God be your judge. If God judges you to have done right, then you stand validated. When you are validated, you can rejoice. You have done right.