What you’re describing is called compromise: you get what you want in exchange for something else.
Wikipedia has a fun example:
> The Wyoming House of Representatives Committee of the Whole amended House Bill 0085, a proposal to study the state's emergency preparedness, in order to kill the bill. The amendment would have required the state to consider purchasing an aircraft carrier (even though Wyoming is a landlocked state), purchasing fighter jets, establishing a military, initiating a draft, and creating a currency.