Yes, it will move with the camera.
If that doesn’t work for you, you can scale your texture coordinates.
For example, the front of your cube lies on the X,Y plane. So, you would scale your texture coordinates by the scaling values you’ve done along the X & Y axis.
assuming your front face has the following texture coordinates (going counter-clock wise starting at the bottom left):
You would then change those texture coordinates to:
This assumes that your texture coordinates are either 0 or 1. If you are using fractional texture coordinates multiply that value by scaleX or scaleY.
Here, scaleX and scaleY are the values that you’ve used in glScalef for the x & y component respectively.
This would avoid you having to render the cube in pieces by modifying the texture matrix for each face.
I haven’t tested any of this of course, but in my head it seems like it should work.