I see that it depends more on where you are, in some parts of the world the cost of energy is quite high but in others it is regularly more accessible, mining has its pros and cons and I think that the greatest benefit would be to mine a Bitcoin in more or less 10 minutes, of course, to do this, taking into account the blocking time, a very powerful mining machine would be needed, not only to have great hash power, but also to have the best efficiency.
It would be a significantly high investment, but the truth is I would do it, don't get me wrong, I am in favor of buying BTC but I consider that having at least one Bitmain S19 Pro would not be a bad acquisition
Electricity cost would be one of the main factors on which it could really affect your mining profitability because its no sense that you would push your mining activity if you do know that you cant really
make much of it or simply you would be paying up on electricity cost or expense which is a dumb decision to be made and its better to buy bitcoin directly rather than on considering on mining it.
So its a personal choice and you arent that dumb on proceeding without having any considerations.