In your node setup, you are just shifting the first and last point after it has been evenly distributed by the *Resample Curve* node, therefore it is not evenly distributed any more.

**The key is to shorten the curve before you resample it** but I also recommend to use the *Trim Curve* node instead of selecting and repositioning the endpoints. This way you don't have to worry about which way to move them.

[![enter image description here][1]][1]

[<img src="https://blend-exchange.com/embedImage.png?bid=oxO4QGA0" />](https://blend-exchange.com/b/oxO4QGA0/)

 [1]: https://i.sstatic.net/hqBsw.png