I think the intention of that is a voltage divider; 12V is a reasonable gate voltage, 24V is excessive and rather above the limit for most devices.Also, R6 is way too big. That can be cranked down to 10 to 1k ohms. No current flows through that once the gate is charged (and a 100k resistor will take a relatively long time to charge the gate.
24V is excessive and rather above the limit for most devices.
I'm not referring to the 24V supply.
I was commenting on the idea of changing the FET gate resistor R6 to a low value, which would have put excessive voltage on the gate.
Most FETS have a gate-source limit around 18 to 20 volts, sometimes rather lower.