It is a nuanced question with a computer[0], but for a phone (increasingly used for more important transactions and sensitive private data by people more naive when it comes to security) it is simply a no-brainer.
Unless cyber crime is prosecuted as robustly as robberies, I want this kind of jail to constrain the device. Believe it or not, it is a feature.
[0] I do run arbitrary code on my MBP, but then I am a dev who writes code. And, being that, I recently re-enabled the warning for running non-app-store apps on my Mac—I consider myself proficient enough, but perhaps that is exactly why I prefer having to go through an extra warning dialog if it helps reduce the attack surface.