When do I stop giving my baby bedtime bottle.

Ra

I just read on the internet by 9 months baby doesn't need a bedtime bottle. My son is 10 months and takes a 9oz bottle morning and bedtime so I feel he needs this. How do I know when to stop this?