Those are the teachings of Christ who I’m sure you consider to be a party pooper.
I never heard of any scripture regarding sympathy for imagined victims of possible dangers.