To throw away or fritter away something valuable, such as money, talent, or a chance.
piss something up the wall
To blow one's earnings on booze specifically.
Some definitions on this page are adapted from Wiktionary, used under CC BY-SA 4.0. Credits.