5V rail connected to 12V via 10K resistor ok?

But when G is grounded, it's okay, correct?