Withdraw scholarship money from 529 - question on tax implications

2020 Publication 970 (irs.gov)

Read Chapters 1 and 8.