It is sad but also ok. Learn from it and your tank will be ok. In salt water all animals have diffrent care requirements that are needed to make them thrive. Research before you buy so you know what its going to take to keep everything going.
I think the fact that your sad is a good things. Means you care. And thats a great thing