Ecclesiastes 10:20 in the King James Version
Curse not the king, no not in thy thought; and curse not the rich in thy bedchamber: for a bird of the air shall carry the voice, and that which hath wings shall tell the matter.
Context
19 A feast is made for laughter, and wine makes the life glad; and money is the answer for all things.
20 Don’t curse the king, no, not in your thoughts; and don’t curse the rich in your bedroom, for a bird of the sky may carry your voice, and that which has wings may tell the matter.