It’s difficult enough trying to keep yourself motivated, let alone an entire group of people, like your team. Setting shared goals is a surefire way to have everyone aligned and working together. In doing so, set both long- and short-term goals.
The long term goals are useful for giving you all a grand vision to work towards, while the short-term goals will help keep you encouraged and sustained along the way.