How to actually forget all past Wifi networks on iOS?

You might have iCloud keychain turned on. Keychain saves Wifi passwords. Try looking for it in Keychain access or just turn off keychain to prevent automatically accessing it.