I believe this claim is true.
According to Australian Eggs, "Children, pregnant women, elderly people, and others with weak immune systems should definitely avoid raw eggs."
AustralianEggs
Healthline furthers this claim by saying, "Those who are older, pregnant, living with a compromised immune system, and young children should avoid eating raw eggs and foods that contain them — especially if the eggs have not been pasteurized."
HealthLine
The FDA explains the dangers of getting salmonella, "Salmonella, the name of a group of bacteria, is a common cause of food poisoning in the United States. Most people infected with Salmonella develop diarrhea, fever, abdominal cramps, and vomiting 12 to 72 hours after infection. Symptoms usually last 4 to 7 days and most people get better without treatment. However, in some people, the diarrhea may be so severe that they need to be hospitalized. In these patients, the Salmonella infection may spread from the intestines to the blood stream, and then to other body sites and can cause death unless the person is treated quickly with antibiotics."
FDA
The CDC says, "Some groups of people are more likely to get infected and get seriously ill. These groups include children younger than 5 years, adults 65 years and older, and people who have a weakened immune system because of a health problem or medicine that lowers the body’s ability to fight germs and sickness."
CDC
Therefore, although eating raw eggs can cause salmonella in every age group and healthy and unhealthy individuals, eating raw eggs is more dangerous for people with compromised immune systems and older people whose immune systems are not as strong as they used to be. These individuals have a higher chance of getting more complications of getting Salmonella as their bodies may not be strong enough to fight the bacteria when it gets in their bloodstream, leading to worse outcomes than other individuals who are younger and healthier.