Abraham Cowley said this quote

A mighty pain to love it is,And 't is a pain that pain to miss;But of all pains, the greatest painIt is to love, but love in vain.