7 year old has a addiction, HELP!!!

Rikki 👩🏼👧🏼👦🏼👶🏻

I am a mom to two kids 9year old daughter and 7year old son and a step mom to a 4 year old.

So this is about my 7 year old we will call him niles,

So Niles has a addiction to electronics. He failed first grade because all he thought about was his tablet. Well we took his tablet and we have now had to hide my daughters and step sons tablets and phone. He is only 7 and he has hacked into my password protected computer at 2am. He will get my husbands phone and over ride his password and make a new one so he can use it at 2 am. Now he is up all night even with all electronics locked away at night he is still getting up at 10:30 and staying up all night. He is back in school and I fear he’s gonna sleep all day at school and be held back again.

What can I do to fix this bc I am literally at loss at knowing what to do. I need help!