What kind of thoughts and feelings are expressed in most ancient poems?

Poems are generally inspired by scenes or emotions, so to understand the thoughts and feelings expressed in poems, you must understand the creative background of the poems. For example, a poet was far away from his hometown and wrote a poem after seeing the moon. Most of them expressed his homesickness. In the same way, there are also those that express unappreciated talents, those that directly express the sufferings of the world, those that express love, family affection, friendship, those that express the pride of life, the misery of life, etc.