Them niggas wasn’t ballin’ but yet they was foul shootin’
Those guys weren’t ballin' (playing basketball/showing off their riches and hustling) but still were foul shooting (doing free throws/shooting guns). A nice comparison which refers to two of the ways persons always say they can get out of the hood with; sports and drugs. Also a play on foul, saying that killing to get these things is fucked up/foul.
Foul shooting can also mean people were having things handed to them (such as rich people making money and getting things for free and not doing anything to deserve it), like a ref giving a foul shot, an uncontested chance to get points in basketball.
To help improve the meaning of these lyrics, visit "Before I’m Gone" by J. Cole Lyrics and leave a comment on the lyrics box