Do Men Actually Enjoy Being A Man?

I hear it all the time irl by guys my age.

“You’re lucky, you’re a girl.”

“If I was a girl I’d make so much money just being pretty.”

“Women have it so easy, I wish I was a girl.”

I’m not sure what it’s about, I mean I’ve said things before like “I wish I was a guy so I wouldn’t get shitted on for being a whore” but I wasn’t truly serious nor do I care for those opinions anymore regarding that.

But what’s up with guys saying this? It’s been said to me multiple times for years now. Do men truly believe women have it easier?