It depicts the truth that life is a journey and its meaning is in the practice of Dharma. Virtue triumphs in the end and vice is put down by the universal justice. The things of the world are perishable and human glory is short-lived. The accumulations that one makes do not last long. Every rise has a fall.
All union ends in separation.
Life ends in death. As logs of wood meet one another and get separated in the vast ocean, so do beings meet one another and get separated here. We had innumerable mothers and fathers, wives and children in several lives. A wise person does not grieve over the pains or is exhilarated over the joys of life. He is a fool, who gets sunk in them and forgets his destiny.