Kids try to test limits wherever possible.
Your child needs to brush 2x/day for 2 full minutes. Pe persistent so he learns how important this is. Stay with him, use a timer, play a song and brush one whole song, make sure he follows a pattern and doesn't skip around. Try brushing your teeth at the same time so it's a family activity. You also need to floss his teeth daily. Be patient.