Pelosi knows Kamala is an anchor baby and therefore ineligible to be POTUS.
If something happens to Joe, Nancy will make sure that Kamala is booted out on her butt and then she, Nancy, will be POTUS.
I somehow doubt the Democrats would do that.