lonely

It’s dangerous to go lonely.
It’s dangerous to go alone.

Alone means that there is nobody with you: ‘I live alone, but I don’t feel lonely.’

Lonely describes the unhappy feeling you may have because you are alone or do not have anyone to talk to.