Quick answer
Truth outlasts. A lie has a short working life, and the verse is comparing durability rather than morality.
Read both lines
The comparison is entirely temporal, which is the freshest thing about it. Forever against a moment, established against passing. A lie works, sometimes very well, and this verse does not deny the working; it points out the expiry. The practical force is for anyone watching dishonesty succeed in real time and wondering whether honesty is naive. The book's answer is not that lying fails immediately. It is that you are choosing between something with a future and something with a deadline.
Related: Proverbs 12:22 · Proverbs 19:9 · Proverbs 21:6
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.