What is the meaning of [Boys will be Boys]

A phrase of resignation used when boys get into trouble or are stereotypically reckless or rowdy