Add sub-chapter in Table of Content

How do I add sub-chapter in Table of Content??

I can’t find a proper tutorial to do this correctly. I did some test which display some sub-chapters but only show the first 2 in the ToC.

what did I not do correctly?