All kids are different, 2 of mine were fully toilet trained by 2yrs , one of mine didn’t want a bar of, he’s now 4.5 yrs old and he finally ready and fully toilet trained during day and almost there with night time, still a few accidents, but getting less and less. I also have a 8yr old who still has the odd accident at night(he also had speech issues/slight tongue tie…hardly any words/sentences till 4ish, he fine now though, school rlly helped)
My girls were potty trained by the time they were 2, but the boys took longer. I don’t know why.