The space.com report noted "During its eight years on Mars, Curiosity has drilled 27 rock samples, scooped up six soil samples and put more than 14 miles (23 km) on its odometer, NASA officials said. (The Mars surface-distance record is held by another NASA rover, Opportunity, which covered 28.06 miles, or 45.16 km, between 2004 and 2018.)"
This report shows what took place with Opportunity and it died on the surface of Mars during 2018 Mars opposition, a global dust storm.
https://skyandtelescope.org/astronomy-news/rover-call-home-nasa-opportunity/
Curiosity is nuclear power, Opportunity died, it was solar powered. Curiosity survived the Martian dust storm.