Good habits should be developed during childhood.

Literal

Good habits [topic-は] childhood [at-に] cultivate should [べき-copula-である].

養う ('to cultivate, nurture, foster') — a more formal, abstract word than 育てる. Used for habits, character, skills. 子供時代 ('childhood years'). ~べき closes the sentence as formal prescriptive advice ('should, ought to').