This is from discourse on the Pali Canon. This quote goes a lot deeper than just the surface meaning, but to me non-attachment goes hand in hand with MGTOW. I really recommend reading Buddha’s words, it changes your worldview dramatically.

18.(i) “And what, monks, is the gratification in the case of form? Suppose there were a girl of khattiya class or the Brahmin class or of householder stock, in her fifteenth or sixteenth year, neither too tall nor too short, neither too thin nor too fat, neither too dark nor too fair. Is her beauty and loveliness then at its height?”—“yes, venerable sir.”—“Now the pleasure and joy that arise in dependence on that beauty and loveliness are the gratification in the case of form.

19.(ii)”and what, monks, is the danger in the case of form? Later on one might see that same woman here at eighty, ninety, or a hundred years, aged, as crooked as a roof bracket, doubled up, supported by a walking stick, tottering, frail, her youth gone, her teeth broken, gray-haired, scanty-haired, bald, wrinkled with limbs all blotchy. What do you think, monks? Has her former beauty and loveliness vanished and the danger become evident?”—“Yes, venerable sir.”—“Monks, this is a danger in the case of form.

...

He goes on like this for another page, getting downright scatalogical (Buddha tends to be repetitive).

This goes deep, detaching from women is just the beginning. The end goal is non-attachment to existence itself.