This is just plain dangerous misinformation, turning your iPhone off every night is very bad for your battery, just keep it between 20 and 80% most of the time (so enable optimized charging) and you'll be fine.
It’s my experience.
But if you have a good source for your statement “is very bad for your battery” let’s see it. Don’t pull a Giuliani on us.