Breastfeeding until 10

I saw someone say that kids should be breastfed until 10 years old. and they would be able to self wean by age 10. I’ve never heard of this. Is this a real thing? 10 years old sounds like a long time