Keeping your goals strictly confidential to yourself or within the bounds of your most trusted few is a smart move everybody should follow. Given the fact that your goals are closely tied with your identity, it’s best to keep it to yourself until the right time comes. A lot of people overshare their goals with strangers or to those whom they want to impress for whatever reasons and it puts them to more harm.
What happens is they prioritize their hunger for self-recognition more than the act of making that goal more than just a dream. This means that by proclaiming your ambitions, the mind would think you’ve already accomplished your goal because it prefers the good hormones that come out of it than having to work extremely hard (even when that’s what you’re supposed to do).