cum îți așterni, așa dormi

Etymology
lit. 'as you make your bed, so you sleep'.

Proverb

 * 1) as you make your bed, so you must lie in it