I seem to recommend this book a lot on this sub.
The risk you run is if you do not address the stuff with yourself then you could be just as miserable in your next job or even when you FIRE. Take some time to dig into who you are and what you want. That has certainly helped me!
You might want to give this book a read:
Many people go through exactly this with jobs or partners or anything in life. The issues they need to address are within themselves.