ArduCAM and SD card module -- SPI Interface Error

Please learn to format code. Hint: the IDE know the Auto Format option in the Tools menu that does a useful attempt to that.

You forgot to initialize the CS (chip select) lines. You set them as output but you don't set them HIGH (these pins are LOW active). That way you have two devices active on the bus in the initialization phase which won't work.