This sentence comes from Duke Zhou. Duke of Zhou is the cultural heritage of ancient China, and later generations wrote it under the name of Duke of Zhou Ji Dan. This book lists all kinds of dreams and predicts their good luck or bad luck.
The Duke of Zhou in the book is Zhou Gongdan, and Confucius' dream of "I no longer dream of Duke of Zhou" often appears in Confucianism.