The last ability won’t trigger at all unless, as an end step starts, you have already been dealt 5 or more damage that turn. It doesn’t matter whether any of it was combat damage or not, nor does it matter who controlled the sources of that damage. (In other words, it will count damage dealt to you by sources you control.)