Are spin bikes worth it?

Does anyone have a spin bike? Is it worth it? Did it really help with losing weight? I really want to get one, the peloton is way too expensive tho so I’d like to find one that is more affordable. Any suggestions?