The text is a proverbial expression meaning that one must live with the consequences of their actions. It does not play on different meanings of a word or similar-sounding words.
As you make your bed , so you will sleep on it .