Can anybody tell me why I have 12 wires in light box?
3 supply, 3 supply to next light, 3 for switch, and possibly 3 for a duplicate fitting controlled by the switch.
As other comments said, just use the connections you need and leave the others alone.