mess around

中级 (B1) informal

To play around doing nothing important, or to be dishonest and unfair to someone.

"We spent the whole morning just messing around instead of packing for the trip."