This is where bankroll management comes into play.
You need to have the bankroll to withstand making All-in calls with positive EV even if you are behind in the hand. If you don't, you don't understand the math or you are playing scared at limits too high for your bankroll.

You may be behind in the hand to AA, but considering the amount in the pot versus the amount it takes to call, you are very +EV.