The quote is the punchline of Wittgenstein's Tractatus Logico-Philosophicus. Jim's translation gets the basic meaning but it has been done more elegantly - best to just google the whole phrase rather than feed it into a translator. (The musical setting is by Elisabeth Lutyens, her "Wittgenstein Motet").