Worse, you generally can't be a firefighter once you get out of prison as they don't hire ex-convicts. Consequently you're not even learning a useful job skill. Note that this hard-ban was relaxed in California specifically in 2020 under AB2147 (allowing prisoners who participated in firefighting programs to apply to have their records expunged in certain cases) -- but applies elsewhere in the US.