Did you select XIAO ESP32C3 as the board?
SD Text
cs=20 FOR PIN 7… DONT USE D IN FRONT
Its the difference between the Physical Pin and the Logical Pin… which is very Illogical