korien_jun6“I didn’t do very well on the test.”

“Well, you have only yourself to blame. I know you never studied and stayed up all night playing video games before test day.”

When something goes wrong, people want to know whose fault it is. When something bad happens to someone, but the main cause is a mistake or a bad choice that he himself made, we can say he has only himself to blame.