is it being selfish??

See, its topsy turvy, you end up being thankful you were not in love, so its not love in first place. Its juvenile infatuation. And you are weighing possibilities 'thank God, I was not in the place of ‘x’ and ‘y’. So there is no selfishness.