This is an upper middle class fantasy. It’s a very small slice of the population (though a big chunk of HN) that has the luxury to just quit a job and look for something better.
Most middle class and lower run a very tight money in=money out and can’t afford to be without work for more than a few weeks and certainly won’t resign without something else already lined up.