If we've found the corresponding materials, we can also press P to imbue our weapon with a soul.
After finishing the conversation with the Phantom Ghost, don't leave. Talk to the Daoist nearby instead. After the dialogue, you'll receive a new quest: "Dao Sword, Buddha Heart".

