too long

from my codes under, i want to set foreach enter another foreach as shown, i have two tables (reservation and courses ), and the objective is to find the status of course who have the same ID in two tables.

Tables:

Courses: (id_course, statutCourses)
reservation: (id_reserv, Location, Destination, Date, Phone, price)

thanks for helping me

@foreach ($reservations as $reservation)
<tr>
  <td> {{ $reservation->id_reserv}}</td>
  <td> {{ $reservation->Location}}</td>
  <td> {{ $reservation->Destination  }}</td>
  <td> {{ $reservation->Date }}</td>
  <td> {{ $reservation->Phone  }}</td>
  <td> {{ $reservation->price }}</td>
  <td> 

    @foreach($courses as $course)
      @if($course->id_course == $reservation->id_reserv)
        <table style="margin-bottom: 15px;">
          <tr>
            <td style="padding-right: 10px;">Statut :</td>
            <td>{{$course->statutCourses}}</td>
          </tr>
        </table>
      @endif
    @endforeach
  </td> 
</tr>
@endforeach