That's true, everyone could have their own personal reasons why they are gambling, some are doing this for fun, maybe just to whine away time, bordomness or loneliness as the case maybe, while we still have some people gambling for the sake of earning money from it for their survival, we have to also know the category of which we belong here, why we have chosen such and how we are best satisfied in making a conclusion on that category kind of gambler.
I believe that most people are into gambling because they want to earn huge amount of money by trying their luck and at the same time they want to enjoy each win that they have. It's basically a fun activity for them that could earn them money if their luck is good and that's the reason why most players place bets.
You're right there can be a few people who want to get rid of boredom and loneliness and that's why they place bets in their favorite games in order to have some relax and enjoyable memories. But, it's a fact that if someone plays a lot and gives most of his/her time playing those games can get addicted to those games and then the fun part will be lost.
Personally I am into gambling not to win a jackpot or earn huge money, I gamble for fun just to earn some extra funds thus I only gamble with small amount of money the amount of money I can afford to lose, I am a soccer fan and enthusiast so my area of interest is on soccer betting I bet with small odds of 2.00 to 4.00 thus staking small money to earn a double digit profit, of course it has nothing to do with my loneliness because most matches are played during weekends except occasionally during midweek when there are UCL matches therefore being lonely can never prompt me to engage in gambling activities there are other things that can keep me busy like learning how to trade, reading articles etc.