How does Scaling work in Elden Ring?

Is it like Dark Souls 2?

Let’s say I want a do a holy build.

Do I level strength to the MINIMUM required to wield the weapon, then invest all points into faith?

Any info appreciated