The act of telling someone your goals without having accomplished them, will give you a dopamine rush.
Don’t do this.
If you must tell someone, tell someone in a mentorship position. That way you’re motivated to actually pursuing that goal. If you don’t have deep respect for the person you’re telling and also value their respect of you, don’t tell them.