S&P 500 Hits Record High as Strong Earnings Beat Reaches Highest Since 2021