Yup, ERs are not a replacement for actual medical care.

Their only goal/duty is to stabilize you during an acute medical emergency so you don't immediately die.