All the three indexes are set for their first quarterly decline in 2023