In a medium-sized skillet, heat 2 tablespoons olive oil over medium heat. Sauté the onions, garlic and carrots for a few minutes, then add the chard and cook a few minutes more until it is tender. Remove the skillet from the heat, stir in the white beans and set aside to cool.