ESP32 Store encryption key

What do you want to achieve?

In most cases encrypting data on the ESP32 with a key available on the ESP32 doesn't make much sense, you can simply store it without using encryption.
What attacks do you want to protect from using that encryption?