By completing all the DLC before initiating the final battle on Earth, you’ll be able to earn a lot of extra War Assets.
Mass Effect: Legendary Edition doesn’t include multiplayer or any of the other external methods for earning War Assets - but it does include all the bonus DLC. To get the best possible ending - as in, you’ll actually get an ending at all - you’ll need to collect 3100 War Assets. If you don’t reach a high enough Readiness Rating, Shephard and his team will die during the final confrontation with the Reapers. By making the tough choices in main story missions or in side-quests, you can earn more War Assets that go to your total Readiness Rating. To unlock all possible endings in Mass Effect 3, you’ll need to participate in the Readiness Rating System - an all-encompassing rating of your War Assets that determines how well your army fairs in the final battle against the Reapers.