In the past, years ago, the rule of thumb was to mine for 3 months and then sell the miners and use the proceeds to buy new miners, rinse and repeat. I do not think the rule is up to date any more, you would have to mine longer to offset the rise in diff, halved block reward, absurdly high miner cost, etc.