When my childhood friends get sent away to prison on their first offense
It's fucked up but listen, we study God but don't know him
He’s saying that a lot of his friends had studied God growing up (perhaps going to church sometimes, or hearing about various popular biblical stories, etc.) but they didn’t really know him because they didn’t make an effort to change their lifestyles and become more spiritual people. The lifestyles they continued to live caused some of his friends to get locked up.
To help improve the meaning of these lyrics, visit "Dreams" by Kendrick Lamar (Ft. Punch) Lyrics and leave a comment on the lyrics box