"You're out of your depth" is an insult to someone with an excessive ego.
If you're not actually out of your depth, you won't be insulted by it.
I don't get insulted when someone says I'm stupid. Because that is not true, and I know it isn't true. It isn't the things we know to be untrue that insults us - it's the things that we know to be true, that we can't accept - or even worse - can't see about ourselves that insult us.