Lease will be end in 40 days

My 2023 Mazda CX 9 lease will end in 40 days. I wonder if there is any good deal in the market? or I should just buyoff the lease? The buyoff is $24,722.50. I am open to either options.