Someone asked my advice about whether to take a new job they have been offered. I told them:
You need to decide what you want to do for the next 5 years, 10 years. Will other thing allow you to do that better than current job? Don’t wait for people to give you work. Find out what needs done and do it. People will notice and you will get more responsibility, authority and reward.
That’s worked for me for 30 years.