kakor si boš postlal, tako boš spal

Etymology
Literally "As you make your bed, so you must lie."

Proverb

 * 1) Roughly equivalent to "you made your bed, now sleep in it" and "as you make your bed, so you must lie in it ".