Maybe you think 6-digit passcode is hard to remember. Then you can go to Settings > Face ID & Passcode > Enter current passcode > Click Change Passcode > Enter current passcode again > click passcode options > choose 4-Digit Numeric Code > Enter new passcode 2 times > Change successfully.