Losing interest in everything is known as anhedonia and refers to a loss of interest in activities that used to be exciting and enjoyable.
People who undergo this feeling of losing interest in everything have a decreased ability to derive pleasure. It is one of the primary symptoms of depression but can also be a symptom of other psychological conditions. Some individuals experience anhedonia without an underlying mental health condition.