i dont have much advice; but i did have a whiny kid. drove me nuts back then.
Out of our four, he never got “good kid of the day” award. I will say kid has progressed to #1 kid now. He’s delightful, generous and caring and off the family payroll! So - while i dont have ideas really how to tame whines - just know it probably wont always be like this.