Answer:
What the author is saying about love in Was it a Dream? is that love is something strange and inexplicable. A person who loves another becomes blind. He only manages to think about the person he loves, he does not conceive of life without the presence of his beloved one and turns to an obsession.
Considering the end of the story, it can be said that the author interprets that the loved ones might not deserve all that love or even did not want it.
The author lies unconscious beside his wife's grave, realizing that all the love he had for her was in vain because she had cheated on him.