Is this true?
Every UFD is a PID
No — it is false.
From Rings and Fields › Euclidean, PID, UFD hierarchy