Is it bad to lie about why you are breaking up to spare someone’s feelings?

Such as you fell out of love and find things he does annoying almost toxic versus just telling them it’s not you it’s me and I just need time to be alone and grow (which is semi true).