The "Erase All Content and Settings" button is only available on Apple Silicon and T2 Macs. For other Mac models, you need to perform the factory reset in Recovery Mode.