In clinical practice, anxiety can also be a protection against burnout. People with anxiety might actually notice earlier that their life and their values and interests are out of sync.
See, for example, the article 6 Hidden Benefits of Anxiety on the Psychology Today website.