If the person you loved is loving someone else, you are fortunate. It is better to learn before it is too late and you put in yourself too much.
Say "thank you" to yourself, because real love means sacrifice. Just let go for the greatest benefit (hopefully) of this very special person.Otherwise, you are only loving yourself and this person a mean for your personal satisfaction.