Meaning of the word "as you make your bed, so you must lie on it" in English

What does "as you make your bed, so you must lie on it" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

as you make your bed, so you must lie on it

US /æz juː meɪk jɔːr bɛd, soʊ juː mʌst laɪ ɑːn ɪt/
UK /æz juː meɪk jɔː bɛd, səʊ juː mʌst laɪ ɒn ɪt/
"as you make your bed, so you must lie on it" picture

Idiom

you must accept the consequences of your own actions

Example:
He decided to quit his job without a backup plan, and now he's struggling; as you make your bed, so you must lie on it.
You were the one who chose to skip all the classes, so don't complain about failing; as you make your bed, so you must lie on it.