(Allah is He Who created you in (a state of) weakness, then gave you strength after weakness, then after strength gave weakness and gray hair. He creates what He wills. And it is He Who is the All-Knowing, the All-Powerful.) (30:54). And Allah says:
(And among you there is he who is brought back to the miserable old age, so that he knows nothing after having known) (22:5). The meaning here -- and Allah knows best -- is that Allah is telling us that this world is transient and will come to an end, it is not eternal and lasting. Allah says:
In the first verse cited here, it was said: وَمَا عَلَّمْنَاهُ الشِّعْرَ وَمَا يَنبَغِي لَهُ (And We did not teach him poetry and it is not proper for him.) Since the deniers of the appearance of a prophet and messenger with a mission could not deny the unique effectiveness of the Qur'an and its ability to move hearts that was a matter of common experience, therefore, they invented convenient excuses. At times, they would call this Divine Word, some magic and the Holy Prophet ﷺ ، a magician. Then, on other occasions, they would say that this Word was poetry and he was a poet. By saying that, they wanted to prove that this unique effectiveness did not come out of the Divine Word as such, instead, they were either words of magic or sorcery that made an impression on hearts, or it is poetic speech for that too affects hearts.
The miraculous literary style of the Quran also attracted listeners. The opponents of the Prophet used this to deride the importance of the Quran by referring to it as a poetic work and not a Divine Discourse. This was a baseless assertion. The extremely serious tone of the Quran; the unveiling of hidden facts; its teachings concerning the realisation of God; its rare unity of thought from the beginning till the end and the indescribable glimpses of God that it provides—all these firmly indicate that it is much more than a work of man-made poetry. The Quran’s veracity will be evident only to those whose souls are truly alive, and only such people will admit the Truth.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.