This is a recent glitch that I got. I've never had something like this happen to me before on java edition. Every time that I try to load the game a black screen appears. I can hear the sounds of the menu, but can't see anything.
Yt hasn't helped me a bit too
Bedrock works perfectly though

When I try to load up Minecraft this happens