You have a bit of a naming problem that makes it hard to understand what's going on.
In your Course class, you have a property called Courses. In your Razor page, you have a foreach referring to Model.Course:
@foreach (var item in Model.Course) {
The thing is you passed an instance of the Course class to the page straight out of your database EF code. That instance, in the page, is referred to as Model,
not Course! The Course class does not have a property called Course. It's called Course
s. This is what is causing the error.
But! You have an even bigger problem. Your Course property is a string, not a collection, so you can't even use a foreach on it! You only have a single string value describing all of the courses for an instructor.
Your database model needs to be overhauled to really fix this and do things correctly.