Answer:
Step-by-step explanation:
The first sentence means that it is better to be part of a group and not alone even if the group is wrong in what it thinks. Personally I don't think it is a true statement, but what I've written is what it says.
The second sentence has much the same meaning. If you dance alone, you need not worry about what everyone thinks of your dancing or your behavior.