How to merge seperated Edge into Mesh? I have a seperated Edge Loop that intersects with another mesh.

Here a simple example:



I tried Boolean, Knife Project and Intersect Tool (this post) without succes.
My last idea is to subdived the edges of the cube, position the vertices and merge them one by one. Is there any better solution?

How can i make it one mesh so that the Cube contains the Edge Loop?

Thanks for your attention.
Cut away all the connecting edges between the top and the bottom of the cube. (check the edge select -> remove only edges)
Join both meshes.
Select remaining edgeloop on top (top side of the former cube).
Select the edgeloop to introduce.
"Bridge Edgeloops".
Select the edgeloop you introduced.
Select remaining edgeloop on the bottom.
"Bridge Edgeloops".