I have learned to toot my horn when necessary, like at work. I have also learned that it is a bad idea to follow my modest instincts, because I go too far, to the point of denigrating myself. I will believe my ideas about how worthless I am, and that leads to suicide.
So my compromise is that, except for professional advancement situations where I must promote myself, I won’t say anything. If other people say nice things, I won’t tell them they are wrong.
But it is very hard for me to say something nice about myself—even something I actually think is quite possibly maybe true like because someone else said it. I’m not saying it for myself. Someone else said it, so I suppose that means it could be true, although it is doubtful. They were probably just trying to be nice but didn’t really mean it.
Except now I think that most people won’t bother to say something nice unless they mean it. Why bother, really? It’s an effort to be nice, so they probably do mean it. So I won’t insult them by denying it.