I don't know what you are talking about.
First, it may be out of personal selfishness, and I don't know the specific reasons.
Second, if the Chenghuang Temple you are talking about is the general name of a region, then maybe he thinks you are in conflict with that region, so it is not appropriate to go. Of course, it is also a guess.
Third, if you mean the City God Temple, it is generally a place to interrogate the conscience of the people in the state. Ask your own conscience. Hell is not hell, maybe it's just a relative concept. Good people have nothing to be afraid of.
Finally, I advise you to use your own reason to analyze whether what this person said is credible. Don't be superstitious or completely indifferent, please consider it according to your own situation.