twiddle thumbs
twiddle (your) thumbs
to do nothing.
Dan spent a whole day twiddling his thumbs, waiting for a package to be delivered.
Cambridge English Idioms Dictionary