Passage
being distressed on account of their teaching the people and preaching by Jesus the resurrection from among [the] dead;
being distressed on account of their teaching the people and preaching by Jesus the resurrection from among [the] dead;
Acts 4:1 And as they were speaking to the people, the priests and captain of the temple and the Sadducees came upon them,
Acts 4:2 being distressed on account of their teaching the people and preaching by Jesus the resurrection from among [the] dead;
Acts 4:3 and they laid hands on them, and put them in ward till the morrow; for it was already evening.
Acts 4:4 But many of those who had heard the word believed; and the number of the men had become [about] five thousand.
The verse centers on "distressed", "account", "teaching", "people", "preaching", "jesus", "resurrection", and "dead". It is saying that the verse draws attention to "distressed" and "account", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 1's "And as they were speaking to the..." into verse 3's "and they laid hands on them and...", so "distressed" and "account" belong inside that flow. In Acts context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "distressed" and "account" with trust shaped by these words, not by a vague optimism outside the passage.