Arthur Schopenhauer said this quote

Almost all of our sorrows spring out of our relations with other people. There is no more mistaken path to happiness than worldliness.