Should i always be trying to get it all in pre flop?

I thought you were supposed to be careful with AK, because its dominated by AA,KK and about 45/55 underdog to QQ-22. And generally if someones raising/reraising pre flop they are gonna have these hands (AA-TT) or you'll be splitting with AK.