To cause something unpleasant or harmful to fall on oneself through one's own actions or decisions.
"He brought disgrace upon himself by lying to the committee."
You have brought this upon yourselves.
— Common formal/literary phrasing; appears in various political speeches and dramatic works