Hello, can you please make sure that you have selected the correct item when you were mining? You can use the mouse wheel to move the red block onto it, then press the Q to mine with the pickaxe, or directly press the corresponding shortcut key to use it, for example, my shortcut key is 2.