If you are an adult and it is your dad's cousin who you've met at 2 weddings in your life and lives 1,000 miles away, you probably don't need to. If it is not a major inconvenience to attend the funeral, and you were somewhat close to the person and/or their family you should absolutely go. Funerals aren't fun, especially if the person was young. But as you get older, unfortunately about the only times you see some of your relatives are at weddings or funerals. Even though the funeral itself can be sad, it is always nice to catch up with relatives like some of your cousins and aunts and uncles. Your presence will build solidarity with your family too. It is nice to show respect for the dead, but you are also sending the message to the rest of your family that they are important to you. It is almost more of a respect to the family of the deceased than the actual deceased person. For example, one of your friends may have never met your grandmother. But if she died and your friend went to support you, that would be very nice and you would appreciate it. In summary, nobody likes them, but you should suck it up and go.