The iPhone offers additional security to keep data safe if your device is stolen.
Go to Settings, then Touch ID & Passcode, then turn on Erase Data. If someone tries to guess your passcode, all data on the device will be erased after ten unsuccessful attempts.