NATO expansion towards Russia finished in 2004, 10 years befoure the Donbas invasion. No European leaders wanted Ukraine in NATO before the war and all her applications were rejected. No promise not to expand was made, as Gorbechev himself confirmed in an interview.