A man in the Greek city of Philippi asked a very similar question of Paul and Silas. We know at least three things about this man: he was a jailer, he was a pagan, and he was desperate. He had been on the verge of suicide when Paul stopped him. And that’s when the man asked, “What must I do to be saved?” (Acts 16:30).
The very fact that the man asks the question shows that he recognized his need of salvation—he saw only death for himself, and he knew he needed help. The fact that he asks Paul and Silas shows that he believed they had the answer.