To dawdle, lollygag; to waste time aimlessly or engage in idle activity or inactivity.
play hooky
verb
To play truant; to avoid (informally: skip) school, work, or other duties (stay away from these without permission nor an excuse); to skive or to bunk off (UK);
How often have the words goof off and play hooky occurred in a corpus of books? (source: Google Ngram Viewer )