A lot of people set goals way ahead of time, sometimes 2, 5 or even 10 year goals.
If you set goals too far ahead of time it is a little like putting blinders on. It is very difficult to see your path that far ahead.
You never know what changes are down the road. The risk is that you might not be open to seeing other opportunities on your path if you are focusing on goals that are far off.
Beware of this fixed way of thinking. Do what you love doing, sure it’s a good idea to know where you would like to be 5 or 10 years from now, but set yourself realistic goals in the meantime too, and you are more likely to find that the goals you set yourself will be achieved naturally.