Setting goals helps patients achieve emotional well-being