What is the meaning of [keep your chin up]

It’s too bad you didn’t get the job, but keep your chin up (cheer up) – another one will come along.