όπως στρώσεις, θα κοιμηθείς

Etymology
The literal meaning is "As you make the bed you'll sleep".

Proverb

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