In the comic book, she goes along with Wolverine, at first to try to stop him. But he convinces her to help him kill Pym, because the other members of the FF are dead, along with the rest of her family. Wolverine convinces her that killing Pym would reverse all of that, plus save a billion...