My Dad acts like my depression isn't valid because he went through worse

Yesterday he told me that what I'm going through is nothing and that I should stop whining because he went through worse and yes he did, but that doesn't make my feelings invalid and I hate that he thinks that it does. It's even more frustrating that he gives me the stereotypical bad advice like "Don't overthink" or "Just try". I think he's just underestimating my mental state and that's why he thinks it's so easy. It just makes me feel guilty about feeling this way. Maybe he's right an I am just weak, which makes me hate myself even more. Thanks Dad.