The bamboo shoots are sharp, he said to the soil, I am spring, is this right?

This sentence is correct.

This sentence uses personification to compare bamboo shoots to people, expressing the scene of bamboo shoots growing in spring. The pointed bamboo shoots are like messengers of spring, heralding the arrival of spring. At the same time, this sentence also expresses the dependence and gratitude of bamboo shoots on the soil, because only when nourished by the soil can bamboo shoots thrive. So this sentence is not only correct, but also poetic and philosophical, expressing the harmonious relationship between life and nature.