You will prefer spending 9 years in prison instead of 3 weeks doing random silly alternative. Because of all the benefits that come with being in prison.
Neither does a 4 year sentence for marijuana. Likely this was a parole violation and OP was forced to serve out the sentence he was previously paroled from.
4 year sentence for weed, I assume it's a huge quantity
Sadly your assumption is most often totally wrong.