What did i do wrong here?

Have a look at this thread for cutting angles. You should be able to adapt the info there to your use case

https://community.carbide3d.com/t/cut-an-angle-on-stock-edge/72478/2