I have read the same things about keeping your battery under 100% and away from 0%. However, you have to think about reality. Does anyone really think that a major phone manufacturer hasn't designed their phones to successfully handle being charged to 100% on a regular basis?
Sure, following the "keep it under 100%" rule might extend battery life a little. How do you do that in the real world without creating an inconvenient system of, for example, plugging it in maybe 2 hours before you go to bed, setting a timer and unplugging it at 90%, leaving it off the charger overnight and (with doze) losing 5-10% then using it all day but being careful not to drop below 10% etc. etc. To me, that's a little ridiculous. I just don't think you are supposed to be a slave to your phone like that.
I've left my phones on the charger overnight and they have all lasted at least 2 years without issue. I haven't kept a phone longer than that so I can't speak to how much longer you can go. I've continued the same habit with my 6P. I plug it in before I go to bed and wake up with a full tank for the day.
I'm not knocking what you said as untrue, I'm just inserting a dose of reality.