I couldn't tell you the exact cause of the error. Try following another tutorial to see if it can be more helpful.
Yeah, thank you for all your help first of all.
I found out that the problem is that Godot 4 runs on OpenGL 3.3 while my laptop can only run OpenGL 2.So, my computer is just old...
But people can still play my game.