The simplest way to be a good friend is to be a loyal fan.
You root for their happiness like you rooted for Jim & Pam, Arya Stark, or Harry, Hermione, & Ron.
You cheer for their success like you cheer for your favorite sports team. And you keep showing up even when they fail.