Well it's all relative. If you are getting lots of miles it's worth it. I am at the n+1 point - I have 4 bikes and the ebike will hopefully get me out of the car more often, but I will still choose mountain biking on my full sus for fun.
You did great on the resale. Hopefully you find overtime the extra money for the better bike will pay off in miles and hours of enjoyment. The $3400 On my Giant was a tough pill to swallow, but worth it.