A device for controlling a flow and distributing a fluid, in at least one fluid circuit, comprising a housing fitted with connections for connection to fluid lines that are connected to at least one internal volume of the housing via a pass-through opening of the connections, and at least one valve element that is arranged in the at least one internal volume of the housing and further comprises a drive element for moving the at least one valve element relative to the housing, wherein the at least one valve element further comprises at least one pass-through opening of the at least one valve element and is mounted in such a way that it can be moved linearly in an axial direction along a longitudinal axis such that a passage for the fluid is opened between a first one of the connections, that is produced as an inlet, and a second one of the connections, that is produced as a primary outlet, or a third one of the connections produced as a secondary outlet, and that the device further comprises a first pressure chamber and a second pressure chamber that are each produced on an end face of the at least one valve element, which are both aligned in the axial direction, as an area of the internal volume of the housing, wherein the first pressure chamber and the second pressure chamber are connected to one another fluidically and to the pass-through opening of the first one of the connections of the housing and the first pressure chamber and the second pressure chamber are connected to one another fluidically via a connection channel, and wherein the at least one pass-through opening of the at least one valve element and the connection channel are produced in such a way that they are connected to one another fluidically.