That's not quite right. They can DFU restore the iPhone. If they somehow didn't forget their iTunes password, then they can start over after the DFU restore.
Welcome to iMore! Just as @Garz stated you'll have to restore using iTunes. Step-by-step instructions are available at the following link: https://support.apple.com/en-us/HT204306