From Proto-Slavic *dobrъ, from Proto-Slavic *dobь ("age, time"), meaning that good is what occurs at the appropriate time.
добръ (dobrŭ)