Compensation offered to candidates is largely driven by how you are compared to other employees or candidates. To get a job that pays better you should be in the top 20 percentile of the available labor in your job market. You can reach there by:
Improve your skills by proactively learning and improving them.
Gain relevant industry certifications to prove you are worth it.
Increase your networks to be the first one who gets recommended.