What you want is bitterness, what you don't want is happiness. Which book is it from? Thank you for your questions.

What you want is bitterness, but what you don't want is joy, which comes from On Two Enters and Four Lines.

Original content:

Gains and losses follow the fate, and the heart is not increasing, which violates the calm of the wind and follows the law. The three of them have nothing to do, and the world is full of fans and greed. Taoists are enlightened, reason and vulgarity are opposed, carefree and inaction, and follow the form, and all three worlds suffer. Who can be safe? As the saying goes, what you want is bitterness, and what you want is not happiness. 4. Naming method is pure principle.

Original explanation:

The meaning of this sentence is not to care too much about gains and losses. Everything goes with fate, and the heart does not increase or decrease, so as to maintain a normal heart. If there is no greed, you will get happiness.

Extended data:

The theory of two lines and four lines is the Dharma quotation recorded by Lin Tan, a disciple of Dharma.

Dharma is considered as the ancestor of Zen in China. His Zen method and theory occupy an important position in the history of Zen in China, and have a great influence on the development of Zen in China and Buddhism in China.

Buddhism meditation is mainly embodied in the theory of binary entry and four lines preserved today. Understanding the thought of this theory is of great significance for understanding Buddhism meditation, China Zen and China Buddhism.

Baidu Encyclopedia-Four Lines Theory of Binary Entries