The King James Version puts it this way:
Say not thou, What is the cause that the former days were better than these? for thou dost not enquire wisely concerning this. – Ecclesiastes 7:10
The New Living Translation is a little more succinct:
Don’t long for “the good old days.” This is not wise. – Ecclesiastes 7:10 NLT
Either way, the point is the same: There are dangers inherent to longing for what was instead of dealing with today.
Below is a link to the sermon I preached last Sunday morning. I hope it encourages you.