if you have more equity when you're allin,you played it right.losing the pot doesnt make you a worse player.