fiddle away

Intermédiaire supérieur (B2) informal

To waste time or money doing small, useless things instead of something important.

"She fiddled away the whole afternoon looking at social media instead of studying."