take the side of (someone)
idiomDefinition of take the side of (someone)
: to agree with or support (one person or group) and not another
The government responded by taking the side of the consumer.