(one) made (one's) (own) bed informal
There are some similar variations: "(one) has made (one's) (own) bed and (one) will have to lie in it"; "(one) has made your bed, now lie in it.
To suffer the unpleasant situation as a result of what one has created
You have delivered packages to the wrong address. The client will complain a lot and I do not know how to explain. You made your own bed.
I made my own bed. It's not your fault.
You have made your own bed, now lie in it. You can't blame on everyone.