Max7219 won't shut off LEDs

I wasn't talking about the code. I was talking about the wires from the MAX7219 to the LED matrix. You got them swapped (DIG <--> SEG).