borrow trouble
Go out of one's way to do something that may be harmful, as in Just sign the willtelling her about it ahead of time is borrowing trouble. [Mid-1800s] Also see ask for, def. 2.