It means to waste, to squander. Misinvesting finances or money.
1- Spending money or time on bad, poor quality or useless things.