This quote is saying that when people feel happy, it can make them ignore their pride. In other words, when people are feeling content and satisfied with their situation, it can make them overlook any feelings of pride they have. They are not necessarily feeling proud of themselves in this moment, but that doesn’t matter because the happiness they feel cancels out any pride they have and allows them to simply appreciate the moment, without worrying about the pride.