Diversifying Your Revenue through Cannabis, Gambling, and Oil Wells

"Sin taxes" and revenue from natural resource extraction are common sources of state aid and funding for education. Why can't they also be used to fund libraries?