Kind of a dick move for Gandalf to tell Pippin about Valinor considering 1) Gandalf has no idea where Hobbits go when they die and 2) Pippin won’t even get to go there anyways because he’s not a ringbearer.