in this situation the odds are right (though 2pair won´t win the hand for you, if villians holding A7-A9 or 77-99, JT)

but consider, that mostly in cashgames the stacks are much deeper compared to the pot. assuming both players are nearly fully stacked and there was not much action preflop (if it was, A2s shouldn´t take part in this hand) with standard bets around 4-5BBs there´s 10 BBs in the pot, stacks stick around 90 BBS, now pushing gives you far less than 2:1.