What is a project pain curve?

The pain curve tell that proper planning is painful but pays off in less pain later in the project. whereas absence of planning in the start exposing to pain which gradually increases & may reach unbearable levels.