Congress has approved legislation that would prevent any president from withdrawing the United States from NATO without approval from the Senate or an Act of Congress. The measure, spearheaded by Sens. Tim Kaine (D-Va.) and Marco Rubio (R-Fla.), was included in the annual National Defense Authorization Act, which passed out of the House on Thursday and is expected to be signed by President Biden.
The Biden Admin had nothing to do with this. Laws are made by Congress.
And Congress is influenced by many factors, not the least of which being the administration of any sitting president.