jak si kdo ustele, tak si lehne

Etymology
lit. 'as one makes one's bed, so one will lie in it'.

Proverb

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