let's admit it it's not so easy to walk away especially if you have been winning, everyone gets greedy at some point.
I can relate on the opposite side. For me, it's easy to walk away when I'm winning but when I'm losing, I don't want to walk away, I'll continue to gamble until I'll be able to win by my losses. I'm kinda challenge when I lose, and I felt that if I give up when I still have something to gambling, it will not make me improve in the long run. Honestly, I've done a lot of mistakes in the past, including this one but I am so greedy that I could not accept my losses, so I continue to gamble and bet all I have and only walk out when I have nothing left, after all, that money is intended for gambling.
I guess it depends on what rate your are gaining profits. If you are growing the pot slowly, it's harder to leave, but if you get one jackpot, it's way easier. You can see this all the time in altcoin investors. They are waiting to profit more so they can't leave even if they have slowly gained 10000% profits at the peak of a bull run, they still have fomo, and would feel stupid for missing out more profits.
So in a same way, when the game or a table or your "tactic" is working and in a giving mood, many people keep playing, even if they had some periods where they lose money. At some point they just slowly have lost more, or won more. Walking away is hard on both cases. But i definitely recognize the feeling where it's hard to leave when i am in loss. These days i have learned to accept the disappointment as part of the game if i lose money and do all i can not to chase winning back.