Nope -- you're not misunderstanding anything ... you probably wouldn't be writing plumbing like this if you were working on a real app, instead of a contrived example.
You're absolutely right that it's vastly overcomplicated for the task that needs to be accomplished here.
You're absolutely right that it's vastly overcomplicated for the task that needs to be accomplished here.