This probably doen't apply to everything, but I did read that the lack of early exposure to peanuts had actually increased the number of individuals who developed peanut allergies.
I found a 2017 NIH post which reccomends early exposure to helo prevent the alergy from developing: https://directorsblog.nih.gov/2017/01/10/peanut-allergy-earl...