So this is something that's been bugging me, and I've seen a few questions around Captain Marvel's role in the Infinity Gauntlet story, but not specifically this one.
At the end of Avengers: Infinity War
Nick Fury calls Captain Marvel using the pager he gave her at the end of the Captain Marvel movie.
During the events of Avengers: Endgame, there is a scene where all the characters are talking via some holographic communication, and she tells them that the whole universe is like this and everywhere needs help, so she won't be around because she needs to help elsewhere.
If that is all true,
then why even come back to Earth when in the first place when Fury paged her after the events of Infinity War? People were already vanishing when Fury used the pager and sent the message. She seemed to come back to Earth only because she was paged.
So people around Captain Marvel would have been vanishing at the same time. As far as Captain Marvel is concerned, Earth had the same problem as the rest of the universe (which actually is incidentally true). So what reason would she have to come back to Earth over going somewhere else? Why would coming back to Earth help solve a universe-wide problem?
Yes, she is from Earth, but until the 90s, she didn't even remember that. And with that in mind, since she does remember now, she hasn't really been back to Earth to have any recent connection to life on Earth.