self–defeating

self–defeating /ˌsɛlfdɪˈfiːtɪŋ/ adjective
self–defeating
/ˌsɛlfdɪˈfiːtɪŋ/
adjective
Britannica Dictionary definition of SELF–DEFEATING
1 
: meant to solve a problem but actually causing the same or another problem : causing more problems than it solves
2 
: preventing you from doing or achieving something