Meditation might be a useful tool if one has no other interests beyond thinking about what's wrong with one's life, but learning to think of other things is just as useful as is taking a nap. I suggest you learn more about meditation if you really think it's just about thinking about your problems.