I wouldn't hold anything against a person wanting to end their own life as I haven't been in their shoes. Barring that caveat, coupling your life to a dream does seem pathological - I would worry that someone ending their life for something like that are throwing away a decent chance to still end up with a overall good, fully lived life.
It's important to consider that you can have rough patches in live but recover well. The largest tragedies are when people react on short term mental pain by giving up, where they would have changed their mind if just holding out for just a bit longer. The person who might feel like there's nothing to live for after having to give up their dream might just have their true love around the corner or maybe just a few session with a therapist would have given them a new perspective, finding joy in the moment, etc.
While I didn't downvote - my guess would be that your message was received as support towards the idea that suicide would be a reasonable and healthy reaction to not reaching your dreams - an idea that in itself could make someone consider the option.