Term: consolation
Example: although we miss our dog very much, it is a consolation to know that she died quickly, wihtout suffering
Definition: relief or comfort in sorrow or suffering