When others set goals for you, you must consider whether your resources enable you to achieve the goals. When I was a young officer in the Navy, I was responsible for getting the decks, sides and seamanship gear ship-shape for a major inspection following a period in the shipyard. The result was a poor inspection grade followed by my painful firing from a job which I liked very much. A sensible manager learns how to fight for resources to meet goals or to point out that the goals cannot be met with existing resources. But they should not be set only with regards to your capacities and the personal rewards to them.
Some goals are better than others, according to some hierarchical scheme of values.