Yes, life isn't fair and I don't think anyone argues otherwise. That's just human nature. People have to live with it.
Focus on the better aspects of life. Take care of your loved ones. Do your best to improve your local community. Contribute to a better state of the world, no matter how small the contribution may be. Pray to a higher being if you believe in one. That's ultimately all you can do.