"HODL" originated from a drunken rant on Bitcointalk during the 2013-14 bubble and MtGox exchange collapse.
And to people who self-identify with the term, I think it might also be a kind of rhetorical last line of defense for when someone criticises their trust and belief: "those may be fine arguments or not, see I don't care, I HODL which means I just don't take it as serious as you. Mind your own business and let me dream my dream". Could also be motivated as a psychological hedge for the day after, "sure, it was expensive, but look at fun we had!"
And yes, the HODL mantra is a way of reminding myself that I shouldn't make emotional decisions in the heat of the moment.