bdf369 is correct – You need to apply the subsurface modifier before sculpting. The reason being that when you sculpt on the cube + subsurf modifier, you’re not actually sculpting on the subdivided version. You’re actually sculpting on the original cube which only has 8 vertices to manipulate.