We are all fed up at times at work.
Managers are not really doing their job, promotions are not coming and other companies seem to offer more pay.
We can probably agree on all on this. Changing a job can help, but the relief is temporary.
If you truly want to get to the bottom of these things, do it in your current job.
It will make things a lot better and if you still decide to leave, you are not just transferring the problem from company A to company B. You have a skill set that helps you to achieve your career goals.