(one) has made (one's) bed and (one) will have to lie in it
One must endure the unpleasant situation that they have created. I don't feel at all bad that he has no friends after having sold everyone out on his way to the top. He's made his bed, and he'll have to lie in it.
you have made your bed and must lie in it
you must accept the consequences of your own actions.