To understand fully the statement, we dissect each word.
"The difference between three times a number and 7."
The difference means the operation here is subtraction.
three times the number would mean 3x where x is the number
Therefore, the algebraic expression is:
3x - 7