Selection order (which you click on first) is important depending on which Boolean you use. Also the Object Order menu can be used to flip them front to back.
I usually drop a light blue square underneath it all to make sure it really does a difference and the white is cutout. Then if I see blue I’m good and I delete that square.
The OP may be having issues if they are not both objects so the Booleans can work.