go out (of) the window

US /ɡoʊ aʊt (əv) ðə ˈwɪndoʊ/
UK /ɡoʊ aʊt (əv) ðə ˈwɪndoʊ/
"go out (of) the window" picture
1.

if something such as a quality, principle, or idea goes out of the window, it no longer exists or is no longer paid attention to

:
When the company started losing money, all their environmental policies went out of the window.
All my good intentions went out of the window when I saw the cake.