This quote is saying that when someone feels like their life has no value or purpose, they might feel so desperate that they either take their own life, or they might try to escape their situation by travelling. Taking one’s own life is a drastic measure, and travelling might be a way to find a distraction from their negative thoughts.