Give somebody the (old) heave-ho humorous informal verb phrase
To dismiss or reject a person from a job, or a relationship
The boss gave me the old heave-ho although I have worked at his company for 6 years.
He decided to give me the heave-ho because he has to migrate to Canada.
The HR assistant was given the heave-ho yesterday for the lost she caused to the company.
I never expect Marilyn to give Alex the heave-ho.
To not accept or have anything to do with something
The verb "give" should be conjugated according to its tense.
This idiom is probably nautical. Sailors are chanting in unison, coordinating their grunts to synchronize their movements in pulling something overboard.