" "He wrote he was dissatisfied with the situation and was going to quit living,""
Weird choice of words. When we see something posted in that context, it is often posted by someone not born in this country.
That statement is definitely an awkward construction, and probably ceated by someone who uses English as a second language. Esp. the "quit living". That's like the French idiom: cesser de ------.