Going all-in preflop is in itself a bad concept I agree.
You have 2 out of 7 of the possible cards to inform your decision to go all-in and you are choosing to risk with minority information when you can see the flop and have majority information fo what is possible for you (5/7). All-in should be saved for flop moves in my opinion , especially in a tournament as opposed to a cash game. In cash game, you can go allin against very loose-player in my opinion as they are unlikely to leave with your money if you lose so you can win it back from them even if cooler-hand happens.