In this Scrum ORG Forum , there is information very clear that WHO DEFINES SPRINT GOAL is SCRUM TEAM, but if you read https://www.scrum.org/resources/blog/11-advantages-using-sprint-goal by Barry Overeem, says PRODUCT OWNER and DEV TEAM.
SO, WHO DEFINES SPRINT GOAL? DEV TEAM + PRODUCT OWNER or ENTIRE SCRUM TEAM?