How Long Do Bikes Usually Last

How long will my battery last.
How long do bikes usually last. Never really thought about it. It depends on the power of the battery typically 24 36 or 48v the power of the bike limited in the uk to 250w the bike s. So how many miles do various parts of a xc mountain bike usually last. None of my glueless patches ever survived a winter several freezing rides.
At that point its either cut the losses or be prepared to dump in a great deal of cash ie top end bottom end clutch as well as wheels i really like my suzuki right now and wouldnt mind keeping it as a practice bike in the future. It is also one of the reasons inexperienced and new riders constantly try to buy and sell motorcycles before they go over the prescribed mileage limit. My experience has been that chainrings last 15k miles or more but that s based on my specific riding and maintenance conditions. Basically they last until they are worn.
Tires disk brakes forks rear ends etc. I never had a glueless patch last on a street road bike which i run at 60 psi. I do know that my bikes seem to go on a 3 year cycle before i get a new one brand new or used. If the tooth profile looks shark finned in appearance it s worn out.
I currently have around 300 dirt miles on my first bike and am wondering how long parts will last until they need replaced worked on. How long do motorcycles last this is a concern for most riders especially when they think investing in a bike won t be worth their hard earned money. We are for instance anticipating very long life out of the bosch systems. That s a tough one to answer.
On the ebike side as well we think if you re going to spend 3000 and 4000 and up for an e bike the product should last as much as a similarly priced regular bike. Save the earth ride a cyclist.