Both! Pets give you great joy, pleasure, love and entertainment during their lives with you, but unfortunately, their lives are often shorter than ours, so the misery comes when they die. While you have them, they are companions, and trust you for everything. Joy outweighs anything else. When they pass, the best cure for the misery is to get another pet as soon as you can. My pets come from shelters, so I can save one, and get the pleasure of knowing I've saved them, and have the joy of giving them a good life.