It deepends on what´s causing that 301.
301s are not bad per se for SEO and they will eventually fade over time.
For example, if the 301 is being caused by a missing trailing slash in the URL slug on a clickable element on the footer, you might get a notification on SEMRush you have hundreds or thousands of redirect issues but, in reality, it´s only one but given it´s placed on an on-page element that is visible site-wide it will trigger hundreds or thousands of issues.
This is an easy fix as you can go into the backend of your site, find that footer element and just add the damn / to the hyperlink and be done.
But, if the main version of your site carries www and there are non-www versions as well, you want to redirect these so, 301s are inevitable.
I hope this makes sense!