Khloe Kardashian has had enough of Lamar Odom’s many slip-ups.

The reality television star has written a letter to her troubled basketball-playing husband telling him to shape up or the marriage is over, according to In Touch.

“Khloe is giving Lamar until their four-year wedding anniversary to show some sign he still wants to be in their marriage. If not she’s filing for divorce,” a source close to the Kardashian family told the gossip magazine.

Unfortunately for Odom, that gives him until Friday to get his act together. The couple was married September 24, 2009.

According to the source, Kardashian’s forceful letter let Odom know the toll his struggles with substance abuse have taken on their marriage. “You put me through hell,” the insider said. “She basically wanted him to know: ‘I look great, I have an amazing life, I feel good about myself — so f–k you.’”

While the news won’t come as a surprise to many, it might blindside Odom. According to a report earlier today, sources close to the former NBA champ say he’s not worried about Kardashian leaving him.