2002 Nissan Pathfinder battery keeps dying

What mostly likely causes the battery to die constantly

An electronic part that has a partial failure causing what is known as a parasitic drain. Good mechanics will know how to run this diagnosis. Expect to pay for the mechanics time to run this test.

If you have an aftermarket radio, alarm or remote starter, start there.

A bad alternator or charging system