filevault – The Mac password has stopped working after creating a new keychain entry

I wanted to use Keychain to store a very long basic sentence. After entering it, my password for my Mac has stopped working. I panic because I installed this computer a long time ago, so I do not know if I have a generic FileVault sentence or anything.

Did I discover a bug in the macOS keychain? I'm using the latest version.