Your answer, "Yes", is not correct.
The correct answer to
Will the earth pass away?
is
No
as shown by
Ecclesiastes 1:4
which is
- KJV
- One generation passeth away, and another generation cometh: but the earth abideth for ever.
- NIV
- Generations come and generations go, but the earth remains forever.