First it still does not say the spirit was put in himEzra 6:22 the Lord had made them joyful and turned the heart of the King of Assyria" KJV
The Lord turned his heart. The Lord as in Father, Son and Holy ghost.
secondly it does not say the spirit turned his heart you are simply assuming