How can some people think life is beautiful is beyond me

How can life be beautiful if something bad can happen at any moment? When millions and millions of people suffer and don't deserve it. When people who have done great evil walk around freely, living happy lives. How can it be beautiful if you work 5 days a week, 8 hours a day. When you come home you don't rest. You have chores waiting for you. How can it be beautiful if there are problems and situations from which there is no way out? If there are problems that cannot be solved and that each of us can experience it.. Even when you have a good life, there is always that fear that you can lose it all. Hard work in life are not as important as being lucky. Even in the 21st century, wars continue and there has never been a period in human history when there was no war. Some will say but there are also beautiful moments in life. There are also beautiful moments in a toxic relationship, does that mean it is worth staying in it? In the end it was all for nothing as you will die.