If you put all of your heart and soul into a relationship and that relationship ends, don't feel like you've wasted time or energy. You showed someone love because that's who you are. You're someone who wants to make your loved ones happy, and that reveals beauty within you. Regardless of the reasons for the distance between you and a loved one, you should feel good about what you offered and shared with another human being.
There are people who can't express love, and then there's you.