How do you push/pull a shape through an object to "cut out" that shape?

Im trying to push/pull a 2D shape through a 3D Cube and im hoping to Cut out the 2D shape out of the cube. Can someone please assist me?

See attached screenshot of what im trying to achieve. TIA.

You can either push pull the shape throw the other element, if it’s a group ungroup it, select all right click on it and intersect faces with selection, delete the geometry you don’t need, or group both elements, melé shire they’re solids after extruding the plane and use solid tools to subtract, trim, or whatever Boolean operation you need to be done.