In any job, only two things you need to focus on, money and learning. Either the money should be good, or you should be learning. Ideally both. If none, then time to move on.
Your time, skills and expertise is too important to spend on a job that is not going you either. Find a job that is adding you to you in some way.