(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.have ˌmade your bed and have to ˈlie on it
have to accept a difficult or unpleasant situation that you have caused yourself: Linda’s borrowed more money than she can ever pay back, but I guess she’s made her bed and now she’s got to lie on it.