To persevere means to keep going when things get hard. It comes with tenacity and grit and curiosity to find the right way. A basket full of admirable traits.
To persist means to keep going also. But there is an element of doing the same thing over and over while expecting different results.
Sometimes choosing a different word to define what you’re doing helps you find a better path forward.