Is Windows 10 Safer Than Windows 7?

Is Windows 7 still secure?

.

Is Windows 10 safe to use?