matching vertex of object to another

i want the origin point of that object to match up with the edge of the cube there. ive tried making the cube edge my origin point and move object to origin but it wont work either

the magnet is a snap tool.

yea i use magnet but with cntrl. problem is that it doesnt snap where i want in this case

Use Centre or Median option if Closest don’t fit.