The Dow Jones Industrial Average rose for a ninth consecutive day on Thursday as strong earnings continued to propel the index higher. However, the S&P 500 Index and Nasdaq Composite came under pressure throughout the session, falling 0.7% and 2%, respectively.

Here's how the market settled on Thursday:

S&P 500 Index (SPY  ): -0.68% or -30.85 points to 4,534.87

Dow Jones Industrial Average (DIA  ): +0.47% or +163.97 points to 35,225.18

Nasdaq Composite Index (QQQ  ): -2.05% or -294.71 points to 14,063.31

Driving the Dow higher, Johnson & Johnson (JNJ  ) shares rose 6% after the pharmaceutical giant raised its full-year guidance after posting stronger-than-expected earnings results. The company now expected adjusted earnings of $10.70 to $10.80 per share for 2023, from a previous forecast of $10.60 to $10.70. The full-year outlook includes results from JNJ's consumer health business, which spun out as an independent company called Kenvue in May.

The broader market fell on Thursday as market participants weighed second-quarter earnings reports from Netflix (NFLX  ) and Tesla (TSLA  ). Shares of Netflix fell over 8% after the streaming giant posted lower-than-expected revenue despite new subscription growth topping estimates for the quarter. Meanwhile, Tesla shares dropped over 9% after CEO Elon Musk and other executives said production is expected to slow in the third quarter.

Of all S&P 500 companies that have reported earnings so far, 74% have exceeded Wall Street estimates, according to FactSet data.

On the economic front, sales of existing U.S. homes fell 3.3% in June month-over-month to a seasonally adjusted annualized rate of 4.16 million units, according to the National Association of Realtors on Thursday. Compared to June 2022, sales were 18.9% and are currently at their slowest pace for June since 2009.

"Home sales fell, but home prices have held firm in most parts of the country," said Lawrence Yun, chief economist at NAR, in a statement. "Limited supply is still leading to multiple-offer situations, with one-third of homes getting sold above the list price in the latest month."

"There are simply not enough homes for sale," Yun added. "The market can easily absorb a doubling of inventory."

Initial jobless claims totaled a less-than-expected 228,000 for the week ended July 15, according to the Labor Department, declining by 9,000 from the previous week. Continuing unemployment claims increased by 33,000 to 1.754 million.

Looking ahead, Wall Street is in for a quiet day on Friday, with no economic data releases and few earnings reports slated for release. Market participants are also trading cautiously ahead of the Federal Reserve's next policy meeting next week.