You need to change your Response Assertion scope to Response Code
Your default Text Response setting looks for
200 in the whole response body, HTTP status code isn't included into the body therefore your assertion fails.
It will also make sense to change "Pattern Matching Rules" to Equals to avoid matches in case when response code will be 2000 (unlikely though)
More information on using JMeter Assertions: How to Use JMeter Assertions in Three Easy Steps