Home2023August18S&P 500 ends near flat as energy, defensive sectors counter megacap declinesFILE PHOTO: The U.S. Federal Reserve building is pictured in FILE PHOTO: The U.S. Federal Reserve building is pictured in FILE PHOTO: The U.S. Federal Reserve building is pictured in Washington, March 18, 2008. REUTERS/Jason Reed