that's life! idiom informal
这就是生活,生活就是这样
said after something bad or unlucky has happened, to express your feeling that such events will sometimes happen and have to be accepted
No, I didn't get the job but that's life, isn't it? 不,我没得到那份工作,不过生活就是这样,对吧?