Yesterday I loaded up Java 1.19.8 and when the world loaded it looked like I had a x-ray on. I can see mobs deep underground and all around me but that was it no blocks except for what I broke, nothing in the hotbar except when I scrolled over it. I took a screenshot but can not place it in here.
This is also probably in the wrong section; there are in fact versions 1.19.80 and 1.20.10 of Bedrock Edition (and yes, that last zero does matter, a software version number is not a "real" number so 1.10 is not the same as 1.1):
Either way, the OP needs to show up exactly which edition / version they have, preferably with a screenshot (either F2 or Alt+Print Screen) with the debug screen open (F3) if they are using Java Edition.