What does it mean to hurt yourself in poetry?

Hurt yourself. Many poets have unhappy lives or frustrated careers, so when they think of the ancients, they will feel sad or angry because of similar or opposite experiences.

For example, in Jia Sheng written by Li Shangyin, Emperor Wen summoned Jia Yi to talk about the strategy of governing the country. In fact, he wrote his own experience with Jia Yi, expressing and strengthening the poet's feeling of incompetence. In Niannujiao? In Red Cliff Nostalgia, Su Shi faced Zhou Yu, and his opposite life experience made him feel sad that his ambition was hard to be rewarded. "Yong Yule? The similar experience of Lian Po and Xin Qiji in "Looking Back at the Gubei Pavilion in Jingkou" made the poet sad and angry.