Like in previous FromSoftware RPGs such as Demon’s Souls and Dark Souls, magic in the world of Elden Ring can be divided into two rough categories – academic Sorceries powered by the spellcaster’s Intelligence and deity-invoking Incantations powered by the spellcaster’s faith. Players who want to be able to cast both Sorceries and Incantations will need to heavily upgrade their character’s Intelligence and Faith attributes at the expense of the Strength and Dexterity attributes that empower attacks from most melees or ranged weapons.
https://screenrant.com/elden-ring-best-weapons-intelligence-faith-character-builds/