have (only) oneself to blame
idiom
variants:
or have no one to blame but oneself
Definition of have (only) oneself to blame
—used to indicate that the cause or fault lies with oneself and nobody else She has only herself to blame for her money problems.