be in bed with

be in bed with somebody

to work with a person or organization, or to be involved with them, in a way which causes other people not to trust you They were accused of being in bed with the communists.
See also: bed