Yes, the amount of State Pension you are entitled to in the UK can be affected by your job and your earnings.
The State Pension is based on your National Insurance (NI) contributions record. To be eligible for the full new State Pension amount, which is currently £179.60 per week (tax year 2022/23), you need to have made at least 35 years of qualifying NI contributions.
The amount of NI contributions you make is linked to your earnings, so if you have had a high-earning job and have made regular contributions over the years, you may be entitled to a higher State Pension than someone who has had a lower-earning job or who has not made as many contributions.
It's worth noting that the State Pension is just one part of your overall retirement income, and you may also have additional pension savings or investments that can supplement your income in retirement. It's important to review your retirement savings regularly and seek professional advice if you're unsure about how to maximize your retirement income.