What is the meaning of [what’s got over the devil’s back is spent under his belly]

Money that is acquired by illicit or immoral means is spent in a similar manner.