walk around aimlessly

Translations
бродить без цели
He spent the afternoon walking around aimlessly in the park.
Он провёл день, бродя без цели в парке.