Purchasing a stock immediately before its ex-dividend date is generally not considered an advantageous strategy because stock prices typically drop by an amount roughly equal to the dividend payout on that exact day. Furthermore, buyers purchasing right before the ex-dividend date still incur immediate tax liabilities on the upcoming cash distribution without receiving any actual economic gain, as the market adjusts the share price downwards to account for the payout.